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