aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_ingest.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-04-09 15:02:46 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-04-09 15:02:46 -0700
commit0320f2ef339a3e74cddcb34516546493974a19c9 (patch)
tree86d4110eb3a4c4e50ef1d739b95b4d90d17456d7 /python/fatcat_ingest.py
parent016aa04273495940a17c6cc86d2fae6520f677fe (diff)
downloadfatcat-0320f2ef339a3e74cddcb34516546493974a19c9.tar.gz
fatcat-0320f2ef339a3e74cddcb34516546493974a19c9.zip
search: more ES 7.x changes (track total counts)
Diffstat (limited to 'python/fatcat_ingest.py')
-rwxr-xr-xpython/fatcat_ingest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/fatcat_ingest.py b/python/fatcat_ingest.py
index b9d71a7c..f1139a28 100755
--- a/python/fatcat_ingest.py
+++ b/python/fatcat_ingest.py
@@ -28,6 +28,7 @@ def _init_search(args):
client = elasticsearch.Elasticsearch(args.elasticsearch_endpoint)
search = Search(using=client, index=args.elasticsearch_index)
+ search = search.params(track_total_hits=True)
return search