--- a/hooks/syncschema.py Thu Mar 04 17:58:31 2010 +0100
+++ b/hooks/syncschema.py Thu Mar 04 18:02:33 2010 +0100
@@ -1152,7 +1152,8 @@
source.fti_unindex_entity(session, entity.eid)
for container in entity.fti_containers():
if still_fti or container is not entity:
- session.repo.index_entity(session, container)
+ source.fti_unindex_entity(session, entity.eid)
+ source.fti_index_entity(session, container)
except Exception:
self.critical('Error while updating Full Text Index for'
' entity %s', entity.eid, exc_info=True)