server/sources/native.py
branchstable
changeset 4807 5642bfa43236
parent 4806 4f12f59b1a13
child 4810 3055dc7a7c88
equal deleted inserted replaced
4806:4f12f59b1a13 4807:5642bfa43236
   594         if any(eschema.fulltext_containers()):
   594         if any(eschema.fulltext_containers()):
   595             return True
   595             return True
   596         return False
   596         return False
   597 
   597 
   598     def index_entity(self, session, entity):
   598     def index_entity(self, session, entity):
       
   599         """create an operation to [re]index textual content of the given entity
       
   600         on commit
       
   601         """
   599         FTIndexEntityOp(session, entity=entity)
   602         FTIndexEntityOp(session, entity=entity)
   600 
   603 
   601     def fti_unindex_entity(self, session, eid):
   604     def fti_unindex_entity(self, session, eid):
   602         """remove text content for entity with the given eid from the full text
   605         """remove text content for entity with the given eid from the full text
   603         index
   606         index