Fix max_analyzed_offset error

This commit is contained in:
simon987 2021-09-20 21:01:23 -04:00
parent a5eacb4950
commit b03ce90a05
5 changed files with 7 additions and 10 deletions

View File

@ -2,7 +2,8 @@
"index": { "index": {
"refresh_interval": "30s", "refresh_interval": "30s",
"codec": "best_compression", "codec": "best_compression",
"number_of_replicas": 0 "number_of_replicas": 0,
"highlight.max_analyzed_offset": 10000000
}, },
"analysis": { "analysis": {
"tokenizer": { "tokenizer": {

File diff suppressed because one or more lines are too long

View File

@ -187,7 +187,8 @@ class Sist2Query {
"name.nGram": {}, "name.nGram": {},
"content.nGram": {}, "content.nGram": {},
font_name: {}, font_name: {},
} },
max_analyzed_offset: 9_999_999
}; };
if (getters.optSearchInPath) { if (getters.optSearchInPath) {
q.highlight.fields["path.text"] = {}; q.highlight.fields["path.text"] = {};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long