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:
[email protected]


With regards,
Apache Git Services

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

Reply via email to