equal
deleted
inserted
replaced
94 # to be updated due to the reindexation |
94 # to be updated due to the reindexation |
95 repo = session.repo |
95 repo = session.repo |
96 cursor = session.pool['system'] |
96 cursor = session.pool['system'] |
97 if not repo.system_source.dbhelper.has_fti_table(cursor): |
97 if not repo.system_source.dbhelper.has_fti_table(cursor): |
98 print 'no text index table' |
98 print 'no text index table' |
99 dbhelper.init_fti(cursor) |
99 repo.system_source.dbhelper.init_fti(cursor) |
100 repo.system_source.do_fti = True # ensure full-text indexation is activated |
100 repo.system_source.do_fti = True # ensure full-text indexation is activated |
101 etypes = set() |
101 etypes = set() |
102 for eschema in schema.entities(): |
102 for eschema in schema.entities(): |
103 if eschema.final: |
103 if eschema.final: |
104 continue |
104 continue |