From 29af9d23d65a86b6037d307ad86f6d1681ff110c Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 12 Aug 2019 22:09:29 -0700 Subject: include in_kbart container count --- python/fatcat_web/search.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python/fatcat_web') diff --git a/python/fatcat_web/search.py b/python/fatcat_web/search.py index 709163ec..5b7bdbf6 100644 --- a/python/fatcat_web/search.py +++ b/python/fatcat_web/search.py @@ -208,6 +208,7 @@ def get_elastic_container_stats(ident, issnl=None): issnl (optional) total in_web + in_kbart preserved """ @@ -236,6 +237,7 @@ def get_elastic_container_stats(ident, issnl=None): 'issnl': issnl, 'total': resp['hits']['total'], 'in_web': buckets['in_web']['doc_count'], + 'in_kbart': buckets['in_kbart']['doc_count'], 'is_preserved': buckets['is_preserved']['doc_count'], } -- cgit v1.2.3