From 830d3d637525ff10131c9e002baf18279739629d Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 28 Jul 2020 15:24:41 -0700 Subject: include container_id as a query boost term --- python/fatcat_web/search.py | 1 + 1 file changed, 1 insertion(+) (limited to 'python/fatcat_web/search.py') diff --git a/python/fatcat_web/search.py b/python/fatcat_web/search.py index 55caa9c5..fe0610e5 100644 --- a/python/fatcat_web/search.py +++ b/python/fatcat_web/search.py @@ -192,6 +192,7 @@ def do_release_search( Q("bool", must_not=Q("exists", field="release_year")), Q("bool", must_not=Q("exists", field="release_type")), Q("bool", must_not=Q("exists", field="release_stage")), + Q("bool", must_not=Q("exists", field="container_id")), ], ) -- cgit v1.2.3