server/checkintegrity.py
changeset 1161 936c311010fc
parent 381 e51deabc9b6a
child 1251 af40e615dc89
equal deleted inserted replaced
1160:77bf88f01fcc 1161:936c311010fc
    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