-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Labels
Search:PerformanceenhancementEnhancement or improvement to existing feature or requestEnhancement or improvement to existing feature or requestlucene
Description
Is your feature request related to a problem? Please describe
Numeric fields like long, int, etc use lucene's newExactQuery which return a newRangeQuery which is internally a PointRangeQuery. With ApproximatePointRangeQuery we should be able to wrap top level term queries against these mappers. I think it is fairly common for users today to search for a single term indexed as a number and it should help speed up the results
Describe the solution you'd like
Wrap existing field mapper term queries for number fields with ApproximatePointRangeQuery. canApproximate will receive SearchContext and will kick in approximation when appropriate
Related component
Search:Performance
Describe alternatives you've considered
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Search:PerformanceenhancementEnhancement or improvement to existing feature or requestEnhancement or improvement to existing feature or requestlucene
Type
Projects
Status
🆕 New
Status
In-Review