Commit 2ab611b5 authored by c24b's avatar c24b

BATCH DOCUMENTS COUNT

parent e5f97f49
...@@ -107,7 +107,7 @@ def parse(corpus): ...@@ -107,7 +107,7 @@ def parse(corpus):
else: else:
# BY documents # BY documents
d = 0 d = 0
for hyperdata in parserbot(resource["path"]): for documents_count, hyperdata in enumerate(parserbot(resource["path"])):
# indexed text fields defined in CONSTANTS # indexed text fields defined in CONSTANTS
for k in DEFAULT_INDEX_FIELDS: for k in DEFAULT_INDEX_FIELDS:
if k in hyperdata.keys(): if k in hyperdata.keys():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment