equal
deleted
inserted
replaced
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: |