Apache Solr open-source search software
LUCENE-7048: add XXXPoint.newSetQuery to match documents with any values from the specified set (this is the analog of TermsQuery, for points)
Mike McCandless446ce8604e4b
diff --cc lucene/core/src/java/org/apache/lucene/document/BinaryPoint.javaindex 201001a7b66,9c4de991aa0..b8b53d5b215--- a/lucene/core/src/java/org/apache/lucene/document/BinaryPoint.java+++ b/lucene/core/src/java/org/apache/lucene/document/BinaryPoint.java@@@ -19,12 -25,13 +25,14 @@@ import org.apache.lucene.search.PointInimport org.apache.lucene.search.PointRangeQuery;import org.apache.lucene.search.Query;import org.apache.lucene.util.BytesRef;+ import org.apache.lucene.util.BytesRefIterator;+ import org.apache.lucene.util.StringHelper;/**- * A binary field that is indexed dimensionally such that finding- * all documents within an N-dimensional shape or range at search time is- * efficient. Multiple values for the same field in one documents+ * An indexed binary field.+ * <p>+ * Finding all documents within an N-dimensional shape or range at search time is+ * efficient. Multiple values for the same field in one document* is allowed.* <p>* This field defines static factory methods for creating common queries:diff --cc lucene/sandbox/src/java/org/apache/lucene/document/InetAddressPoint.javaindex 4e5d6997fef,3081875d733..1a73dc1b9f5--- a/lucene/sandbox/src/java/org/apache/lucene/document/InetAddressPoint.java+++ b/lucene/sandbox/src/java/org/apache/lucene/document/InetAddressPoint.java@@@ -22,11 -25,11 +25,12 @@@ import org.apache.lucene.search.PointInimport org.apache.lucene.search.PointRangeQuery;import org.apache.lucene.search.Query;import org.apache.lucene.util.BytesRef;+ import org.apache.lucene.util.BytesRefIterator;/**- * A field indexing {@link InetAddress} dimensionally such that finding- * all documents within a range at search time is+ * An indexed 128-bit {@code InetAddress} field.+ * <p>+ * Finding all documents within a range at search time is* efficient. Multiple values for the same field in one document* is allowed.* <p>