-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Normalizer doesn’t like trim filter #27310
Copy link
Copy link
Closed
Labels
:Search Relevance/AnalysisHow text is split into tokensHow text is split into tokens>featureTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearchgood first issuelow hanging fruitlow hanging fruithelp wantedadoptmeadoptme
Metadata
Metadata
Assignees
Labels
:Search Relevance/AnalysisHow text is split into tokensHow text is split into tokens>featureTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearchgood first issuelow hanging fruitlow hanging fruithelp wantedadoptmeadoptme
Type
Fields
Give feedbackNo fields configured for issues without a type.
When I use trim filter in normalizer I get this exception:
"type" : "illegal_argument_exception",
"reason" : "Custom normalizer [my_normalizer] may not use filter [trim]"
But it's fine to use the lowercase filter instead.