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

Wildcard field - add normalizer support #53851

Merged
merged 9 commits into from
Mar 24, 2020

Conversation

markharwood
Copy link
Contributor

Add normalizer support for the wildcard field to allow case insensitivity

@markharwood markharwood added >enhancement :Search Foundations/Mapping Index mappings, including merging and defining field types v8.0.0 v7.7.0 labels Mar 20, 2020
@markharwood markharwood self-assigned this Mar 20, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/Mapping)

Copy link
Contributor

@jimczi jimczi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left one comment but adding the support for this option makes sense to me.

Copy link
Contributor

@jimczi jimczi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left 2 more comments

@markharwood
Copy link
Contributor Author

Good to go, @jimczi ?

Copy link
Contributor

@jimczi jimczi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@markharwood
Copy link
Contributor Author

Backport to 7x pending on #53512

markharwood added a commit to markharwood/elasticsearch that referenced this pull request Mar 24, 2020
* Add support for normalisation to wildcard field

* Tidied imports

* Added docs about params

* Fix outdated error message

* Avoid normaliser butchering wildcard query special characters

* Fix broken test expectations

* Fix wrong toString method

* Address review comments - common method for normalising wildcard patterns and checkCompatibility

* Remove unused import
markharwood added a commit that referenced this pull request Mar 24, 2020
Backport support for normalisation to wildcard field

Closes #53603
markharwood added a commit to markharwood/elasticsearch that referenced this pull request Mar 27, 2020
markharwood added a commit to markharwood/elasticsearch that referenced this pull request Mar 27, 2020
markharwood added a commit that referenced this pull request Mar 27, 2020
* Revert "Wildcard field - add normalizer support (#53851) (#54109)"

This reverts commit 6a60f85.

* Revert "Formatting fix"

This reverts commit 598d4c1.

* Revert "Backport of new wildcard field type (#53590)"

This reverts commit 2c74f3e.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search Foundations/Mapping Index mappings, including merging and defining field types v7.7.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants