jpountz commented on code in PR #12087:
URL: https://github.com/apache/lucene/pull/12087#discussion_r1071254421
##########
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:
Maybe link to LongField and other similar fields?
--
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]