rmuir commented on code in PR #12087: URL: https://github.com/apache/lucene/pull/12087#discussion_r1071265859
########## lucene/core/src/java/org/apache/lucene/document/NumericDocValuesField.java: ########## @@ -97,6 +97,27 @@ SortedNumericDocValues getValues(LeafReader reader, String field) throws IOExcep }; } + /** + * Create a query matching any of the specified values. + * + * <p><b>NOTE</b>: Such queries cannot efficiently advance to the next match, which makes them + * slow if they are not ANDed with a selective query. As a consequence, they are best used wrapped + * in an {@link IndexOrDocValuesQuery}, alongside a set query that executes on points, such as + * {@link LongPoint#newSetQuery}. Review Comment: oh, duh, thank you. will fix. -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org