We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The documentation for Apply synonyms at index or search time contains an error in the example code for adding my_analyzer as a search analyzer.
The example includes the updateable flag in the field mapping for title, which results in the following error when used:
{ "error": { "root_cause": [ { "type": "mapper_parsing_exception", "reason": "unknown parameter [updateable] on mapper [title] of type [text]" } ], "type": "mapper_parsing_exception", "reason": "Failed to parse mapping: unknown parameter [updateable] on mapper [title] of type [text]", "caused_by": { "type": "mapper_parsing_exception", "reason": "unknown parameter [updateable] on mapper [title] of type [text]" } }, "status": 400 }
To resolve the issue, the updateable flag should be applied to the token filter instead of the field mapping.
Suggested Fix: Update the example to remove the updateable flag from the field mapping and ensure the token filter includes the correct configuration.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The documentation for Apply synonyms at index or search time contains an error in the example code for adding my_analyzer as a search analyzer.
The example includes the updateable flag in the field mapping for title, which results in the following error when used:
To resolve the issue, the updateable flag should be applied to the token filter instead of the field mapping.
Suggested Fix:
Update the example to remove the updateable flag from the field mapping and ensure the token filter includes the correct configuration.
The text was updated successfully, but these errors were encountered: