diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2021-05-31 18:40:18 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2021-05-31 18:40:18 -0700 |
commit | ec2d9cc45c24cac4ade0cb39e319ffc405f925f9 (patch) | |
tree | bb51d709fd2fa9fc28fefc3fcf04f11557506370 /python | |
parent | 837eb9f0d4dcf47f2006be472dc26905b9e28e53 (diff) | |
download | fatcat-ec2d9cc45c24cac4ade0cb39e319ffc405f925f9.tar.gz fatcat-ec2d9cc45c24cac4ade0cb39e319ffc405f925f9.zip |
ingest: don't 'track_total_hits' for ES 7.x count()
Diffstat (limited to 'python')
-rwxr-xr-x | python/fatcat_ingest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_ingest.py b/python/fatcat_ingest.py index 993b9cfa..1a53a7dc 100755 --- a/python/fatcat_ingest.py +++ b/python/fatcat_ingest.py @@ -68,7 +68,7 @@ def _run_search_dump(args, search): ]) counts = Counter({'ingest_request': 0, 'elasticsearch_release': 0, 'estimate': 0}) - search = search.params(track_total_hits=True) + search = search.params() counts['estimate'] = search.count() print("Expecting {} release objects in search queries".format(counts['estimate']), file=sys.stderr) |