{\"type\":\"illegal_argument_exception\",\"reason\":\"The length [2049605] of field [content] in doc[724]\/index[nc_fulltextsearch] 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 setting [1000000] and this will tolerate long field values by truncating them.\"}}},\"status\":400}"}
There are two ways to handle this:
On the connector side, hence "fulltextsearch_elasticsearch" a simple
determine the max content size:
I'm also seeing that illegal_argument_exception error in my browser console for about half the XHR requests to https://mycloud.example.com/apps/fulltextsearch/v1/search.
Error logging:
There are two ways to handle this:
On the connector side, hence "fulltextsearch_elasticsearch" a simple determine the max content size:
and increase the max_analyzed_offset accordingly:
Will mitigate this error already
On the Elasticsearch side an index template will do: