aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/search.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-06-29 20:00:27 -0700
committerBryan Newbold <bnewbold@archive.org>2020-06-29 20:00:27 -0700
commitac2b01c565226cf140023e5fe4646a99b0b57418 (patch)
treec71945108cbf73efa32a71212c6359fd0af9eacb /fatcat_scholar/search.py
parentd8698be38117e616eac5f85c7b7480b2024976bd (diff)
downloadfatcat-scholar-ac2b01c565226cf140023e5fe4646a99b0b57418.tar.gz
fatcat-scholar-ac2b01c565226cf140023e5fe4646a99b0b57418.zip
note about highlight encoding in ES 7.x
Diffstat (limited to 'fatcat_scholar/search.py')
-rw-r--r--fatcat_scholar/search.py2
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