server/sources/native.py
changeset 4517 0f3c10fc42b2
parent 4512 e7ac20bf3629
parent 4515 e8835c68f581
child 4682 4994901b7379
equal deleted inserted replaced
4513:8abf464d2ffe 4517:0f3c10fc42b2
   550                 self.exception('error while unindexing %s', eid)
   550                 self.exception('error while unindexing %s', eid)
   551 
   551 
   552     def fti_index_entity(self, session, entity):
   552     def fti_index_entity(self, session, entity):
   553         """add text content of a created/modified entity to the full text index
   553         """add text content of a created/modified entity to the full text index
   554         """
   554         """
   555         self.info('reindexing %r', entity.eid)
   555         self.debug('reindexing %r', entity.eid)
   556         try:
   556         try:
   557             self.indexer.cursor_reindex_object(entity.eid, entity,
   557             self.indexer.cursor_reindex_object(entity.eid, entity,
   558                                                session.pool['system'])
   558                                                session.pool['system'])
   559         except Exception: # let KeyboardInterrupt / SystemExit propagate
   559         except Exception: # let KeyboardInterrupt / SystemExit propagate
   560             if self.indexer is not None:
   560             if self.indexer is not None: