-
Notifications
You must be signed in to change notification settings - Fork 25.5k
Open
Labels
:Search Relevance/SearchCatch all for Search RelevanceCatch all for Search Relevance>deprecationTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearch
Description
Description
Span and Interval queries both have the same function of positional queries to allow control order and proximity of terms.
Interval queries were developed recently and have several benefits over Span queries:
- Simpler interface
- Intervals queries provide scores unlike Span queries
- Interval queries are more performant?
Tasks
- Add range and regexp rules to Interval Queries.
- Done in Lucene PR .
- Done for ES Add range and regexp Intervals #111465
- Make range open-ended
- For multi term Interval rules set
max_expansions
parameter toindices.query.bool.max_clause_count
- In progress: A blog explaining how to use Interval queries instead of Span queries
- Deprecate Span queries
### Tasks
Metadata
Metadata
Assignees
Labels
:Search Relevance/SearchCatch all for Search RelevanceCatch all for Search Relevance>deprecationTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearch