OpenSearch/plugins/mapper-annotated-text/src
Alan Woodward 8ebd341710
Add text search information to MappedFieldType (#58230) (#58432)
Now that MappedFieldType no longer extends lucene's FieldType, we need to have a
way of getting the index information about a field necessary for building text queries,
building term vectors, highlighting, etc. This commit introduces a new TextSearchInfo
abstraction that holds this information, and a getTextSearchInfo() method to
MappedFieldType to make it available. Field types that do not support text search can
just return null here.

This allows us to remove the MapperService.getLuceneFieldType() shim method.
2020-06-23 14:37:26 +01:00
..
main/java/org/elasticsearch Add text search information to MappedFieldType (#58230) (#58432) 2020-06-23 14:37:26 +01:00
test MappedFieldType should not extend FieldType (#58160) 2020-06-16 16:56:43 +01:00