You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While mapping data on Opensaerch getting error. Steps to Reproduce
run following command
wp elasticpress put-mapping Expected behavior
need to complete the mapping Screenshots
getting following error { "error": { "root_cause": [ { "type": "illegal_argument_exception", "reason": "In Shingle TokenFilter the difference between max_shingle_size and min_shingle_size (and +1 if outputting unigrams) must be less than or equal to: [3] but was [4]. This limit can be set by changing the [index.max_shingle_diff] index level setting." } ], "type": "illegal_argument_exception", "reason": "In Shingle TokenFilter the difference between max_shingle_size and min_shingle_size (and +1 if outputting unigrams) must be less than or equal to: [3] but was [4]. This limit can be set by changing the [index.max_shingle_diff] index level setting." }, "status": 400 } Environment information
Device:
OS:
Browser and version:
WordPress version:
5.9.2
ElasticPress version:
4.2.0
Elasticsearch version:
Opensearch 1.2.4
Where do you host your Elasticsearch server?
Opensaerch AWS
What ElasticPress features do you have currently active?
Post Search
Plugins and version:
Theme and version:
Site Health Info:
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
While mapping data on Opensaerch getting error.
Steps to Reproduce
run following command
wp elasticpress put-mapping
Expected behavior
need to complete the mapping
Screenshots
getting following error
{ "error": { "root_cause": [ { "type": "illegal_argument_exception", "reason": "In Shingle TokenFilter the difference between max_shingle_size and min_shingle_size (and +1 if outputting unigrams) must be less than or equal to: [3] but was [4]. This limit can be set by changing the [index.max_shingle_diff] index level setting." } ], "type": "illegal_argument_exception", "reason": "In Shingle TokenFilter the difference between max_shingle_size and min_shingle_size (and +1 if outputting unigrams) must be less than or equal to: [3] but was [4]. This limit can be set by changing the [index.max_shingle_diff] index level setting." }, "status": 400 }
Environment information
Site Health Info:
Additional context
The text was updated successfully, but these errors were encountered: