src/pyams_content_es/interfaces/__init__.py
changeset 35 e413f8bd1ad5
parent 0 5af41c7a366f
child 38 40e74c0dca57
equal deleted inserted replaced
34:a49941e01c4f 35:e413f8bd1ad5
    37 #
    37 #
    38 
    38 
    39 class IContentIndexerUtility(Interface):
    39 class IContentIndexerUtility(Interface):
    40     """Content indexer utility interface"""
    40     """Content indexer utility interface"""
    41 
    41 
    42     zeo_connection = Choice(title=_("ZEO connection name"),
    42     zodb_name = Choice(title=_("ZODB connection name"),
    43                             description=_("Name of ZEO connection utility defining indexer connection"),
    43                        description=_("Name of ZODB connection defining indexer connection"),
    44                             required=False,
    44                        required=False,
    45                             vocabulary="PyAMS ZEO connections")
    45                        vocabulary="PyAMS ZODB connections")
    46 
    46 
    47     def index_document(self, document):
    47     def index_document(self, document):
    48         """Index given document"""
    48         """Index given document"""
    49 
    49 
    50     def unindex_document(self, document):
    50     def unindex_document(self, document):