Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Mapping Issue - Opensaerch #2810

Closed
balajidamodare opened this issue May 31, 2022 · 1 comment
Closed

BUG: Mapping Issue - Opensaerch #2810

balajidamodare opened this issue May 31, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@balajidamodare
Copy link

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

  • 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

@balajidamodare balajidamodare added the bug Something isn't working label May 31, 2022
@felipeelia
Copy link
Member

The problem is already being handled in #2806 (comment). I'm closing this one out now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants