aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-08-12 15:25:46 -0700
committerBryan Newbold <bnewbold@archive.org>2020-08-12 15:26:12 -0700
commit4c157374f480137a64edaa672a7aff8c0dad314f (patch)
tree278975268ab74d52024b2f1374f2eae7706cacb1
parent5c23d95defffaf78f921f172b0c6d24a5f3385c9 (diff)
downloadfatcat-scholar-4c157374f480137a64edaa672a7aff8c0dad314f.tar.gz
fatcat-scholar-4c157374f480137a64edaa672a7aff8c0dad314f.zip
use container_name, not container_ident, in boost
This should result in SIM page fulltext matches not getting pushed down as much, as well as things like biorxiv (*rxiv) results.
-rw-r--r--fatcat_scholar/search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/search.py b/fatcat_scholar/search.py
index b2c5460..0b6798d 100644
--- a/fatcat_scholar/search.py
+++ b/fatcat_scholar/search.py
@@ -200,7 +200,7 @@ def do_fulltext_search(
Q("bool", must_not=Q("exists", field="year")),
Q("bool", must_not=Q("exists", field="type")),
Q("bool", must_not=Q("exists", field="stage")),
- Q("bool", must_not=Q("exists", field="biblio.container_ident")),
+ Q("bool", must_not=Q("exists", field="biblio.container_name")),
],
)