From ac2b01c565226cf140023e5fe4646a99b0b57418 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 29 Jun 2020 20:00:27 -0700 Subject: note about highlight encoding in ES 7.x --- fatcat_scholar/search.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fatcat_scholar') diff --git a/fatcat_scholar/search.py b/fatcat_scholar/search.py index 5997dda..a2e19bc 100644 --- a/fatcat_scholar/search.py +++ b/fatcat_scholar/search.py @@ -206,6 +206,8 @@ def do_fulltext_search( "fulltext.annex", number_of_fragments=2, fragment_size=300, + # TODO: this will fix highlight encoding, but requires ES 7.x + #encoder="html", ) # sort order -- cgit v1.2.3