use ranges

This commit is contained in:
Stephan Porada 2020-04-02 11:38:27 +02:00
parent e14f7a517b
commit bface71503

View File

@ -80,8 +80,8 @@ def pj_corpus_analysis_query(query):
if client.status == 'abort': if client.status == 'abort':
break break
chunk = results.export(context=context, cutoff=chunk_size, chunk = results.export(context=context, cutoff=chunk_size,
expand_lists=True, offset=chunk_start) expand_lists=False, offset=chunk_start)
chunk['cpos_ranges'] = False chunk['cpos_ranges'] = True
if (results.size == 0): if (results.size == 0):
progress = 100 progress = 100
else: else: