jtibshirani commented on issue #715: LUCENE-7714 Add a range query that takes 
advantage of index sorting.
URL: https://github.com/apache/lucene-solr/pull/715#issuecomment-502800464
 
 
   > Instead of adding this alternative in the 
NumericDocValuesField#slowRangeQuery we could add an alternative query in the 
SortedNumericDocValuesRangeQuery that would be used if the condition to run in 
the sorted case are not met (multi-valued field or a different default value 
for instance).
   
   This makes the most sense to me in terms of design, I had actually 
considered it originally but wasn't totally sure about it!
   
   I pushed some new changes that move the logic to a new query 
`IndexSortSortedNumericDocValuesRangeQuery` in sandbox. I undid the changes to 
the existing `SortedNumericDocValuesRangeQuery`. For now, the new query only 
handles `SortedNumericDocValues` fields, since I think that is the most 
important use case and it was a bit tricky to add support for 
`NumericDocValues` as well.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to