Enable sort optimization for all NumericTypes #6326
Labels
enhancement
Enhancement or improvement to existing feature or request
Performance
This is for any performance related enhancements or bugs
Is your feature request related to a problem? Please describe.
Lucene provides inbuilt sort optimization (point based) for all numeric sort types. As per this PR we were able to enable sort optimization for below 4 types.
There are other types where we have widened our Types (i.e from SHORT to LONG). Code. So those types are still not optmized and taking time to return hits.
Describe the solution you'd like
Enable Lucene numeric sort optimization for all remaining types mentioned here.
Code
Describe alternatives you've considered
There is no alternative as of now.
Additional context
This will break existing indexed data, so we need to do POC and determine challenges to enable optimizations where SortField.Type is not matched with Point.Type.
The text was updated successfully, but these errors were encountered: