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

Add pre-built named normalizers #53872

Closed
markharwood opened this issue Mar 20, 2020 · 1 comment · Fixed by #53882
Closed

Add pre-built named normalizers #53872

markharwood opened this issue Mar 20, 2020 · 1 comment · Fixed by #53882
Assignees
Labels
>enhancement :Search Foundations/Mapping Index mappings, including merging and defining field types :Search Relevance/Analysis How text is split into tokens Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch

Comments

@markharwood
Copy link
Contributor

Like Analyzers, can we ship elasticsearch with some named defaults for normalizers?
One obvious example being "lowercase".
I'm not sure how we would handle any name-clashes with existing user-defined normalizers but it would make life simpler for users.
The new wildcard field is an example where making a field case insensitive is a common requirement. Ideally this would need a one-liner in the mapping rather than users having to mess with analysis settings and token filters.

@markharwood markharwood added >enhancement :Search Foundations/Mapping Index mappings, including merging and defining field types :Search Relevance/Analysis How text is split into tokens labels Mar 20, 2020
@elasticmachine
Copy link
Collaborator

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

@markharwood markharwood self-assigned this Mar 20, 2020
markharwood added a commit to markharwood/elasticsearch that referenced this issue Apr 3, 2020
markharwood added a commit that referenced this issue Apr 3, 2020
Add pre-configured “lowercase” normalizer
Includes tests that user-defined "lowercase" normalizer overrides the default one.

Closes #53872
markharwood added a commit that referenced this issue Apr 3, 2020
A pre-configured normalizer for lower-casing.
Closes #53872
@javanna javanna added Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch labels Jul 16, 2024
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 :Search Relevance/Analysis How text is split into tokens Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants