Skip to content

Wildcard field - add normalizer support#53851

Merged
markharwood merged 9 commits intoelastic:masterfrom
markharwood:fix/53603norms
Mar 24, 2020
Merged

Wildcard field - add normalizer support#53851
markharwood merged 9 commits intoelastic:masterfrom
markharwood:fix/53603norms

Conversation

@markharwood
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

Good to go, @jimczi ?

Copy link
Copy Markdown
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
Copy Markdown
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.

5 participants