Fragment size setting

This commit is contained in:
2020-06-09 21:40:53 -04:00
parent 8c1c1697e0
commit a011b7e97b
9 changed files with 36 additions and 22 deletions

View File

@@ -417,6 +417,9 @@ function search(after = null) {
q.highlight = {
pre_tags: ["<mark>"],
post_tags: ["</mark>"],
fragment_size: CONF.options.fragmentSize,
number_of_fragments: 1,
order: "score",
fields: {
content: {},
// "content.nGram": {},