aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_scholar')
-rw-r--r--fatcat_scholar/search.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/fatcat_scholar/search.py b/fatcat_scholar/search.py
index c9c264e..a2ecc02 100644
--- a/fatcat_scholar/search.py
+++ b/fatcat_scholar/search.py
@@ -179,7 +179,7 @@ def do_fulltext_search(
lenient=True,
quote_field_suffix=".exact",
fields=[
- "title^5",
+ "title^4",
"biblio_all^3",
"everything",
],
@@ -218,6 +218,7 @@ def do_fulltext_search(
"fulltext.body",
"fulltext.acknowledgment",
"fulltext.annex",
+ highlight_query=basic_fulltext.to_dict(),
require_field_match=False,
number_of_fragments=2,
fragment_size=300,