Are you applying those analyzers to any field? Are you searching on that field, or on the _all
field?
If you intend to use those analyzers as the default analyzers for the whole index, then they should be named default_index
and default_search
. In fact they're both the same, so you could just specify the analyzer once as default
.
This is how Elasticsearch determines which analyzer to use at index time:
- the
index_analyzer
defined in the field mapping, else - the
analyzer
defined in the field mapping, else - the analyzer defined in the
_analyzer
field of the document, else - the default
index_analyzer
for thetype
, which defaults to - the default
analyzer
for thetype
, which defaults to - the analyzer named
default_index
in the index settings, which defaults to - the analyzer named
default
in the index settings, which defaults to - the analyzer named
default_index
at node level, which defaults to - the analyzer named
default
at node level, which defaults to - the
standard
analyzer
and at search time:
- the
analyzer
defined in the query itself, else - the
search_analyzer
defined in the field mapping, else - the
analyzer
defined in the field mapping, else - the default
search_analyzer
for thetype
, which defaults to - the default
analyzer
for thetype
, which defaults to - the analyzer named
default_search
in the index settings, which defaults to - the analyzer named
default
in the index settings, which defaults to - the analyzer named
default_search
at node level, which defaults to - the analyzer named
default
at node level, which defaults to - the
standard
analyzer