When you use the Search feature in SAS Visual Investigator, the following pop-up error might occur:
When this error occurs, the svi-sand service log contains the following message, and the search fails to return any results:
Highlighting snippets could not be generated for one or more of the searched objects. The default search field is too large for the default highlighter. Please set the \"fvh_default_highlighter\" option to \"true\" for the following entities: <YourEntityName>.
This issue occurs because OpenSearch contains a default limit of 1,000,000 for the number of text characters to be analyzed. Since highlighting for large texts might require a substantial amount of time and memory, this limit is set to protect against this large resource usage. For additional information, see Index settings - OpenSearch Documentation.
Note: If this method does not solve the problem or is not feasible, see the caution below and proceed with method 2.
Caution: This method could increase the index size of the updated entities. Fast Vector Highlighter (FVH) requires storing term vectors with positions and offsets, which increases index size. If storage is not sized for that growth, nodes can reach disk watermarks, leading to shard movement and even read-only indices at flood-stage, which can degrade cluster performance and/or block writes.
For additional information, see Highlight query matches - OpenSearch Documentation.