HoustonPutman commented on issue #16573:
URL: https://github.com/apache/lucene/issues/16573#issuecomment-5459148469

   Also I'm not sure that https://github.com/apache/lucene/pull/15760 is buying 
anything at all when an `IndexOrDocValues` query is used. In this case, both 
the Points range query and the DocValues range query would be optimized, and 
since the Points data is correct, it would be optimized to a `MatchAllDocs` 
query or a `MatchNoDocs` query. This is just helpful for a user using 
`SortedNumericDocValues` directly even though they have points indexed. It just 
kind of feels wrong to be using the wrong data for the query. The 
`PointRangeQuery` does not check the docValuesSkipList, for example.
   
   I think the PR could just be reverted probably...


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to