The length of [xxx] field of [xxx] doc of [xxx] index has exceeded [1000000] - maximum allowed to...

当高亮查询时遇到以下错误:

image.png

可以修改动态配置:
PUT dmc/_settings { "index": { "highlight.max_analyzed_offset": 2147483647 } }
原因官网的api已经说明了
image.png

你可能感兴趣的:(The length of [xxx] field of [xxx] doc of [xxx] index has exceeded [1000000] - maximum allowed to...)