--- a/server/checkintegrity.py Thu Nov 19 16:48:55 2015 +0100
+++ b/server/checkintegrity.py Thu Nov 19 17:50:48 2015 +0100
@@ -124,8 +124,7 @@
source = repo.system_source
for eschema in etypes:
etype_class = cnx.vreg['etypes'].etype_class(str(eschema))
- for fti_rql in etype_class.cw_fti_index_rql_queries(cnx):
- rset = cnx.execute(fti_rql)
+ for rset in etype_class.cw_fti_index_rql_limit(cnx):
source.fti_index_entities(cnx, rset.entities())
# clear entity cache to avoid high memory consumption on big tables
cnx.drop_entity_cache()