summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/search.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-07-28 15:24:41 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-07-28 15:24:41 -0700
commit830d3d637525ff10131c9e002baf18279739629d (patch)
tree3a9bc9c0664ba048bd01cc5c461f4a6dfb71c7dc /python/fatcat_web/search.py
parent623cc4a9691abd8a776780cebf00e45ab3daf64c (diff)
downloadfatcat-830d3d637525ff10131c9e002baf18279739629d.tar.gz
fatcat-830d3d637525ff10131c9e002baf18279739629d.zip
include container_id as a query boost term
Diffstat (limited to 'python/fatcat_web/search.py')
-rw-r--r--python/fatcat_web/search.py1
1 files changed, 1 insertions, 0 deletions
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")),
],
)