aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/search.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-07-30 10:41:56 -0700
committerBryan Newbold <bnewbold@archive.org>2020-07-30 10:42:01 -0700
commit2f0874c84e71a02a10e21b03688593a4aa5ef426 (patch)
tree8ac85f9388a8dbeba0c5c878b7ccb761833c3a6b /fatcat_scholar/search.py
parenta2d6fb28852f6575e5c69b9cb0ebf7979af6f378 (diff)
downloadfatcat-scholar-2f0874c84e71a02a10e21b03688593a4aa5ef426.tar.gz
fatcat-scholar-2f0874c84e71a02a10e21b03688593a4aa5ef426.zip
Revert "remove duplicate fulltext search from query"
This reverts commit 0d3fd83493c7307a2b9593c7add90b8b6f4b4152. Seems like we do need to query on this field for highlighting to work.
Diffstat (limited to 'fatcat_scholar/search.py')
-rw-r--r--fatcat_scholar/search.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fatcat_scholar/search.py b/fatcat_scholar/search.py
index 2d65946..611e185 100644
--- a/fatcat_scholar/search.py
+++ b/fatcat_scholar/search.py
@@ -179,6 +179,7 @@ def do_fulltext_search(
"title^5",
"biblio_all^3",
"abstracts.body^2",
+ "fulltext.body",
"everything",
],
)