SAP Knowledge Base Article - Preview

3347880 - Error "index.highlight.max_analyzed_offset exceeded" in OpenSearch - SAP Commerce Cloud


When trying to search in OpenSearch, a similar error to the following one is displayed:

  • The length of [log] field of [XXXXX] doc of [logs-json-XXXX.XX.XX] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!



SAP Commerce Cloud


SAP Commerce Cloud all versions


sap commerce cloud, kibana, open search, json , KBA , CEC-SCC-CLA-ENV-LOM , Logging and Monitoring , Known Error

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.