Remove type-level analyzer
, index_analyzer
, search_analyzer
#8874
Labels
>breaking
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
v2.0.0-beta1
Type level default analyzers are problematic. While the index analyzer can always be applied, the search analyzer is only applied if the type name is prepended to the field (see #3102).
With the changes planned in #8870, fields will be mapped in the same way across all types in an index, so it no longer makes sense to have type-level default analyzers. Instead, index-level default analyzers will apply to all fields (ie analyzers named
default
,default_search
, ordefault_index
).Relates to #8870
The text was updated successfully, but these errors were encountered: