OpenSearch/x-pack/plugin/frozen-indices/src
Alan Woodward 12a3f6dfca
MappedFieldType should not extend FieldType (#58160)
MappedFieldType is a combination of two concerns:

* an extension of lucene's FieldType, defining how a field should be indexed
* a set of query factory methods, defining how a field should be searched

We want to break these two concerns apart. This commit is a first step to doing this, breaking
the inheritance relationship between MappedFieldType and FieldType. MappedFieldType
instead has a series of boolean flags defining whether or not the field is searchable or
aggregatable, and FieldMapper has a separate FieldType passed to its constructor defining
how indexing should be done.

Relates to #56814
2020-06-16 16:56:43 +01:00
..
main/java/org/elasticsearch Allow searching of snapshot taken while indexing (#55511) 2020-04-21 13:21:38 +01:00
test/java/org/elasticsearch/index/engine MappedFieldType should not extend FieldType (#58160) 2020-06-16 16:56:43 +01:00