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 edited a comment on issue #715: LUCENE-7714 Add a range query that takes advantage of index sorting.
Date Tue, 18 Jun 2019 18:27:32 GMT
jtibshirani edited a comment 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-501436447
 
 
   Thanks @atris and @jimczi for taking a look!
   
   > However I wonder if we should expose this query as is or if we should use it only
internally in the `IndexOrDocValuesQuery` ?
   
   I agree that the query is not so helpful on its own. I was unsure about integrating it
into `IndexOrDocValuesQuery`, since that deals with queries generally and this query is specifically
for `long` ranges. Would `IndexOrDocValuesQuery` optionally accept a third query, and only
run it if the segment is sorted and also contains `NumericDocValues`? That seemed a bit specific
to add to a fairly general query type. Another idea is for `IndexSortDocValuesRangeQuery`
to accept a fallback range query, and delegate to it if the necessary conditions aren't met?

----------------------------------------------------------------
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