-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Search/SearchSearch-related issues that do not fall into other categoriesSearch-related issues that do not fall into other categories>enhancement
Description
Feature Request
elasticsearch version >= 7.4.2
In our use case we would like use the interval query on text fields of type annotated text. The interval query, however, throws an exception:
Can only use interval queries on text fields - not on [text] which is of type [annotated_text]"
The exception is thrown here https://github.com/elastic/elasticsearch/blob/master/server/src/main/java/org/elasticsearch/index/mapper/MappedFieldType.java#L395.
Interval query: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-intervals-query.html.
Annotated Text Plugin: https://www.elastic.co/blog/search-for-things-not-strings-with-the-annotated-text-plugin
Metadata
Metadata
Assignees
Labels
:Search/SearchSearch-related issues that do not fall into other categoriesSearch-related issues that do not fall into other categories>enhancement