The length [1133164] of field [code] in doc[8927]/index[ovaledge_prasanthi4567890_oequery] exceeds the [index.highlight.max_analyzed_offset] limit [1000000]. To avoid this error, set the query parameter [max_analyzed_offset] to a value less than index set

Every time increase index.highlight.max_analyzed_offset is not correct right, suppose if the field string having 100 match take first match and ignore remaining matches in the highlight.

Welcome to our community! :smiley:

Please share more information, Dec 10th, 2022: [EN] Asking top notch technical questions to get you help quicker! has a guide on how to best as questions to ensure you get assistance.

"code": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
} Here i provided "ignore_above": 256 character right my doubt is if the field string having 100 match take first match and ignore remaining matches in the highlight

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.