Uses of Interface
org.apache.lucene.util.ArrayUtil.ByteArrayComparator
-
Packages that use ArrayUtil.ByteArrayComparator Package Description org.apache.lucene.document The logical representation of aDocument
for indexing and searching.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.sandbox.search This package contains a flexible graph-based proximity query, TermAutomatonQuery, and geospatial queries.org.apache.lucene.search Code to search indices.org.apache.lucene.search.comparators Comparators, used to compare hits so as to determine their sort order when collecting the top results withTopFieldCollector
.org.apache.lucene.util Some utility classes.org.apache.lucene.util.bkd Block KD-tree, implementing the generic spatial data structure described in this paper. -
-
Uses of ArrayUtil.ByteArrayComparator in org.apache.lucene.document
Fields in org.apache.lucene.document declared as ArrayUtil.ByteArrayComparator Modifier and Type Field Description private ArrayUtil.ByteArrayComparator
BinaryRangeFieldRangeQuery. comparator
(package private) ArrayUtil.ByteArrayComparator
RangeFieldQuery. comparator
ByteArrayComparator selected by bytesPerDimMethods in org.apache.lucene.document with parameters of type ArrayUtil.ByteArrayComparator Modifier and Type Method Description (package private) abstract PointValues.Relation
RangeFieldQuery.QueryType. compare(byte[] queryPackedValue, byte[] minPackedValue, byte[] maxPackedValue, int numDims, int bytesPerDim, int dim, ArrayUtil.ByteArrayComparator comparator)
(package private) PointValues.Relation
RangeFieldQuery.QueryType. compare(byte[] queryPackedValue, byte[] minPackedValue, byte[] maxPackedValue, int numDims, int bytesPerDim, ArrayUtil.ByteArrayComparator comparator)
(package private) abstract boolean
RangeFieldQuery.QueryType. matches(byte[] queryPackedValue, byte[] packedValue, int numDims, int bytesPerDim, int dim, ArrayUtil.ByteArrayComparator comparator)
boolean
RangeFieldQuery.QueryType. matches(byte[] queryPackedValue, byte[] packedValue, int numDims, int bytesPerDim, ArrayUtil.ByteArrayComparator comparator)
Compares every dim for 2 encoded ranges and returns true if all dims match. -
Uses of ArrayUtil.ByteArrayComparator in org.apache.lucene.index
Fields in org.apache.lucene.index declared as ArrayUtil.ByteArrayComparator Modifier and Type Field Description private ArrayUtil.ByteArrayComparator
CheckIndex.VerifyPointsVisitor. comparator
-
Uses of ArrayUtil.ByteArrayComparator in org.apache.lucene.sandbox.search
Fields in org.apache.lucene.sandbox.search declared as ArrayUtil.ByteArrayComparator Modifier and Type Field Description private ArrayUtil.ByteArrayComparator
MultiRangeQuery.RangeTree. comparator
Methods in org.apache.lucene.sandbox.search with parameters of type ArrayUtil.ByteArrayComparator Modifier and Type Method Description (package private) static MultiRangeQuery.RangeTree
MultiRangeQuery. createTree(java.util.List<MultiRangeQuery.RangeClause> clauses, int numIndexDim, int bytesPerDim, ArrayUtil.ByteArrayComparator comparator)
Creates a tree from provided clausesprivate static MultiRangeQuery.RangeTree
MultiRangeQuery. createTree(MultiRangeQuery.Range[] components, int low, int high, int split, int numIndexDim, int bytesPerDim, ArrayUtil.ByteArrayComparator comparator)
Creates tree from sorted ranges (with range low and high inclusive)private static MultiRangeQuery.Range
MultiRangeQuery. getRange(MultiRangeQuery.RangeClause clause, int numIndexDim, int bytesPerDim, ArrayUtil.ByteArrayComparator comparator)
Builds a Range object from a range clauseConstructors in org.apache.lucene.sandbox.search with parameters of type ArrayUtil.ByteArrayComparator Constructor Description RangeTree(MultiRangeQuery.Range component, int split, ArrayUtil.ByteArrayComparator comparator, int numIndexDim, int bytesPerDim)
-
Uses of ArrayUtil.ByteArrayComparator in org.apache.lucene.search
Fields in org.apache.lucene.search declared as ArrayUtil.ByteArrayComparator Modifier and Type Field Description private ArrayUtil.ByteArrayComparator
PointInSetQuery.MergePointVisitor. comparator
private ArrayUtil.ByteArrayComparator
PointInSetQuery.SinglePointVisitor. comparator
Methods in org.apache.lucene.search with parameters of type ArrayUtil.ByteArrayComparator Modifier and Type Method Description private static IndexSortSortedNumericDocValuesRangeQuery.ValueAndDoc
IndexSortSortedNumericDocValuesRangeQuery. findNextValue(PointValues.PointTree pointTree, byte[] value, boolean allowEqual, ArrayUtil.ByteArrayComparator comparator, boolean lastDoc)
Move to the minimum leaf node that has at least one value that is greater than (or equal to ifallowEqual
)value
, and return the next greater value on this block.private static int
IndexSortSortedNumericDocValuesRangeQuery. lastDoc(PointValues.PointTree pointTree, byte[] value, ArrayUtil.ByteArrayComparator comparator)
Compute the last doc ID that matches the given value and is stored on a leaf node that compares greater than the current leaf node that the providedPointValues.PointTree
is positioned on.private static int
IndexSortSortedNumericDocValuesRangeQuery. nextDoc(PointValues.PointTree pointTree, byte[] value, boolean allowEqual, ArrayUtil.ByteArrayComparator comparator, boolean lastDoc)
Find the next value that is greater than (or equal to ifallowEqual
) and return either its first doc ID or last doc ID depending onlastDoc
. -
Uses of ArrayUtil.ByteArrayComparator in org.apache.lucene.search.comparators
Fields in org.apache.lucene.search.comparators declared as ArrayUtil.ByteArrayComparator Modifier and Type Field Description private ArrayUtil.ByteArrayComparator
NumericComparator. bytesComparator
-
Uses of ArrayUtil.ByteArrayComparator in org.apache.lucene.util
Methods in org.apache.lucene.util that return ArrayUtil.ByteArrayComparator Modifier and Type Method Description static ArrayUtil.ByteArrayComparator
ArrayUtil. getUnsignedComparator(int numBytes)
Return a comparator for exactly the specified number of bytes. -
Uses of ArrayUtil.ByteArrayComparator in org.apache.lucene.util.bkd
Fields in org.apache.lucene.util.bkd declared as ArrayUtil.ByteArrayComparator Modifier and Type Field Description private ArrayUtil.ByteArrayComparator
BKDWriter. commonPrefixComparator
private ArrayUtil.ByteArrayComparator
BKDWriter.BKDMergeQueue. comparator
private ArrayUtil.ByteArrayComparator
BKDWriter. comparator
private ArrayUtil.ByteArrayComparator
HeapPointWriter. dimComparator
Methods in org.apache.lucene.util.bkd that return ArrayUtil.ByteArrayComparator Modifier and Type Method Description static ArrayUtil.ByteArrayComparator
BKDUtil. getPrefixLengthComparator(int numBytes)
Return a comparator that computes the common prefix length across the nextnumBytes
of the provided arrays.
-