diff --git a/schema/settings.json b/schema/settings.json index 9f62ce3..a6fc000 100644 --- a/schema/settings.json +++ b/schema/settings.json @@ -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": { diff --git a/sist2-vue/src/Sist2Query.ts b/sist2-vue/src/Sist2Query.ts index 2d1c672..c25c375 100644 --- a/sist2-vue/src/Sist2Query.ts +++ b/sist2-vue/src/Sist2Query.ts @@ -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) {