From bface71503ea0a514efae0d346e467d9dac9318a Mon Sep 17 00:00:00 2001 From: Stephan Porada Date: Thu, 2 Apr 2020 11:38:27 +0200 Subject: [PATCH] use ranges --- app/corpora/pj_events.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/corpora/pj_events.py b/app/corpora/pj_events.py index ee647e9a..27f76451 100644 --- a/app/corpora/pj_events.py +++ b/app/corpora/pj_events.py @@ -80,8 +80,8 @@ def pj_corpus_analysis_query(query): if client.status == 'abort': break chunk = results.export(context=context, cutoff=chunk_size, - expand_lists=True, offset=chunk_start) - chunk['cpos_ranges'] = False + expand_lists=False, offset=chunk_start) + chunk['cpos_ranges'] = True if (results.size == 0): progress = 100 else: