Problem/Motivation
When I save the index with ngram enabled I get this error:
Error message
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"analyzer [autocomplete_search] has not been configured in mappings"}],"type":"illegal_argument_exception","reason":"analyzer [autocomplete_search] has not been configured in mappings"},"status":400}
Steps to reproduce
Added a index for nodes and taxonomy terms
Enabled Enable ngram analyzer with the following options:
- Type: Edge ngram
- min ngram: 3
- max ngram: 20
Save and the error will appear.
Elasticsearch version: 7.10.2
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #2
walli commentedIm having the same issue .
Elastic search version ; 7.8.1
Comment #3
pieterjandp commentedI had the same issue. It is impossible to update the settings of an "open" existing Elasticsearch index, so it is not possible to add additional analyzers or update mappings.
Everything worked fine after deleting and recreating the index (and unfortunately the views using this index as well).