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

search_quote_analyzer always added to mapping when position_offset_gap is specified #10357

Closed
jtibshirani opened this issue Mar 31, 2015 · 0 comments
Assignees
Labels
>bug :Search/Mapping Index mappings, including merging and defining field types

Comments

@jtibshirani
Copy link
Contributor

If position_offset_gap is specified in a field's mapping, search_quote_analyzer is always added, even if no analyzer was specified:

https://gist.github.com/jtibshirani/f4acab68e7e505fb1778

For consistency, search_quote_analyzer should only be in the mapping if it has been specified and differs from search_analyzer.

@javanna javanna added >bug v1.6.0 v2.0.0-beta1 v1.5.1 :Search/Mapping Index mappings, including merging and defining field types labels Apr 2, 2015
@javanna javanna self-assigned this Apr 2, 2015
@javanna javanna assigned rjernst and unassigned javanna Apr 2, 2015
rjernst pushed a commit that referenced this issue Apr 17, 2015
The check was ineffective and was causing search_quote_analyzer to be added to the mapping unnecessarily.

Closes #10357
closes #10359
rjernst pushed a commit that referenced this issue Apr 17, 2015
The check was ineffective and was causing search_quote_analyzer to be added to the mapping unnecessarily.

Closes #10357
closes #10359
brwe pushed a commit to brwe/elasticsearch that referenced this issue Apr 18, 2015
The check was ineffective and was causing search_quote_analyzer to be added to the mapping unnecessarily.

Closes elastic#10357
closes elastic#10359
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
The check was ineffective and was causing search_quote_analyzer to be added to the mapping unnecessarily.

Closes elastic#10357
closes elastic#10359
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search/Mapping Index mappings, including merging and defining field types
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants