equal
deleted
inserted
replaced
562 self.exception('error while unindexing %s', eid) |
562 self.exception('error while unindexing %s', eid) |
563 |
563 |
564 def fti_index_entity(self, session, entity): |
564 def fti_index_entity(self, session, entity): |
565 """add text content of a created/modified entity to the full text index |
565 """add text content of a created/modified entity to the full text index |
566 """ |
566 """ |
567 self.info('reindexing %r', entity.eid) |
567 self.debug('reindexing %r', entity.eid) |
568 try: |
568 try: |
569 self.indexer.cursor_reindex_object(entity.eid, entity, |
569 self.indexer.cursor_reindex_object(entity.eid, entity, |
570 session.pool['system']) |
570 session.pool['system']) |
571 except Exception: # let KeyboardInterrupt / SystemExit propagate |
571 except Exception: # let KeyboardInterrupt / SystemExit propagate |
572 if self.indexer is not None: |
572 if self.indexer is not None: |