ZMSZCatalogConnector.py - ZMS Catalog Connector for ZCatalog Integration
Provides ZMSZCatalogConnector for catalog indexing and search operations. This module implements a Zope connector that integrates with ZCatalog to provide centralized indexing, querying, and suggestion capabilities for the ZMS publishing platform. It handles the complete lifecycle of catalog management including object indexing, removal, and clearing, while supporting multiple output formats (JSON/XML) and search interfaces.
The connector serves as a bridge between ZMS content objects and external search engines (such as Solr/OpenSearch), managing repository exports/imports and implementing repository provider patterns for catalog schema management.
Key responsibilities:
- Manage catalog object indexing and removal operations
- Execute search and suggestion queries against indexed content
- Transform search results between JSON and XML formats
- Handle progressive reindexing of content pages
- Provide repository-based schema and configuration persistence
- Support property management through the Zope Management Interface (ZMI)
Features:
- Multi-language indexing support via language-specific requests
- Configurable file parsing for document extraction
- XML prettification of search results
- Pagination support for large-scale reindexing operations
- ZMI integration with role-based access control
| See Also | |
Products.zms.IZMSCatalogConnector, Products.zms.IZMSRepositoryProvider License: GNU General Public License v2 or later, Organization: ZMS Publishing |
| Class | |
Provide helpers for ZMSZCatalogConnector. |