Fix max_analyzed_offset (again?)

This commit is contained in:
simon987 2022-04-15 15:35:39 -04:00
parent 036ed9ea1e
commit ceb7265639
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -210,7 +210,7 @@ class Sist2Query {
};
if (!legacyES) {
q.highlight.max_analyzed_offset = 9_999_999;
q.highlight.max_analyzed_offset = 999_999;
}
if (getters.optSearchInPath) {