lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [lucene-solr] jtibshirani commented on issue #715: LUCENE-7714 Add a range query that takes advantage of index sorting.
Date Mon, 17 Jun 2019 18:33:55 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message