diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-06-29 20:00:27 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-06-29 20:00:27 -0700 |
commit | ac2b01c565226cf140023e5fe4646a99b0b57418 (patch) | |
tree | c71945108cbf73efa32a71212c6359fd0af9eacb | |
parent | d8698be38117e616eac5f85c7b7480b2024976bd (diff) | |
download | fatcat-scholar-ac2b01c565226cf140023e5fe4646a99b0b57418.tar.gz fatcat-scholar-ac2b01c565226cf140023e5fe4646a99b0b57418.zip |
note about highlight encoding in ES 7.x
-rw-r--r-- | fatcat_scholar/search.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |