-
Notifications
You must be signed in to change notification settings - Fork 314
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
Mapping failed because of max_shingle_size .. I have changed settings but not working as its creating new index all time and applying settings-- version 4.2.0 #2806
Comments
Hi @balajidamodare, Thanks for opening the issue. Before anything else, I think we need to align our expectations here :) Right now, you have the same problem reported in 3 different places, and that does not help anyone: it won't make us get to your question any faster and will not help to keep the repository organized for others with the same problem. That said, it is enough to report your problem only once, we will eventually get to it. I really hope you understand. Can you please run the following command and let us know the results?
You will also need to replace |
@felipeelia Thank you for responding. I was a little bit confused is this the question or bug that's the reason I have reported separately and in the comment as well.
)` and for the user getting error |
HI @felipeelia |
@balajidamodare, I guess I was not clear enough in my last reply. Please, do NOT try to bump your questions. As you are using OpenSearch and that is not something we officially support, you will face errors that are not necessarily bugs but things that need to be worked around. With all that said, I gave OpenSearch a try and an adjustment is needed in the version understood by ElasticPress. As OpenSearch will report its version as 1.x or 2.x, ElasticPress will see that as an older version of Elasticsearch and use wrong mappings. To circumvent that, this snippet can be used:
|
@felipeelia |
command: wp elasticpress put-mapping
Describe your question
Error:
Query Response Code: HTTP 400
Query Result:
any plugin settings will help to resolve this?
I am using already one filter to resolve this.
// to resolve max_shingle_diff issue default allowed 5
apply_filters( 'ep_max_shingle_diff', 10 );
The text was updated successfully, but these errors were encountered: