diff options
-rw-r--r-- | fatcat_scholar/search.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fatcat_scholar/search.py b/fatcat_scholar/search.py index a7505b6..68df978 100644 --- a/fatcat_scholar/search.py +++ b/fatcat_scholar/search.py @@ -176,10 +176,7 @@ def do_fulltext_search( lenient=True, quote_field_suffix=".exact", fields=[ - "title^5", "biblio_all^3", - "abstracts.body^2", - "fulltext.body", "everything", ], ) @@ -208,6 +205,7 @@ def do_fulltext_search( "fulltext.body", "fulltext.acknowledgment", "fulltext.annex", + require_field_match=False, number_of_fragments=2, fragment_size=300, # TODO: this will fix highlight encoding, but requires ES 7.x |