equal
deleted
inserted
replaced
69 repo = session.repo |
69 repo = session.repo |
70 repo.hm.unregister_hook(setmtime_before_update_entity, |
70 repo.hm.unregister_hook(setmtime_before_update_entity, |
71 'before_update_entity', '') |
71 'before_update_entity', '') |
72 repo.hm.unregister_hook(uniquecstrcheck_before_modification, |
72 repo.hm.unregister_hook(uniquecstrcheck_before_modification, |
73 'before_update_entity', '') |
73 'before_update_entity', '') |
|
74 repo.do_fti = True # ensure full-text indexation is activated |
74 etypes = set() |
75 etypes = set() |
75 for eschema in schema.entities(): |
76 for eschema in schema.entities(): |
76 if eschema.is_final(): |
77 if eschema.is_final(): |
77 continue |
78 continue |
78 indexable_attrs = tuple(eschema.indexable_attributes()) # generator |
79 indexable_attrs = tuple(eschema.indexable_attributes()) # generator |