Uses of Interface
org.apache.lucene.util.ArrayUtil.ByteArrayComparator
Packages that use ArrayUtil.ByteArrayComparator
Package
Description
The logical representation of a
Document
for indexing and
searching.Code to maintain and access indices.
This package contains a flexible graph-based proximity query, TermAutomatonQuery, and geospatial
queries.
Code to search indices.
Some utility classes.
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.ByteArrayComparatorModifier and TypeFieldDescriptionprivate final ArrayUtil.ByteArrayComparator
BinaryRangeFieldRangeQuery.comparator
(package private) final ArrayUtil.ByteArrayComparator
RangeFieldQuery.comparator
ByteArrayComparator selected by bytesPerDimMethods in org.apache.lucene.document with parameters of type ArrayUtil.ByteArrayComparatorModifier and TypeMethodDescription(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.ByteArrayComparatorModifier and TypeFieldDescriptionprivate final 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.ByteArrayComparatorModifier and TypeFieldDescriptionprivate final ArrayUtil.ByteArrayComparator
MultiRangeQuery.RangeTree.comparator
Methods in org.apache.lucene.sandbox.search with parameters of type ArrayUtil.ByteArrayComparatorModifier and TypeMethodDescription(package private) static MultiRangeQuery.RangeTree
MultiRangeQuery.createTree
(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.ByteArrayComparatorModifierConstructorDescriptionprivate
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.ByteArrayComparatorModifier and TypeFieldDescriptionprivate final ArrayUtil.ByteArrayComparator
PointInSetQuery.MergePointVisitor.comparator
private final ArrayUtil.ByteArrayComparator
PointInSetQuery.SinglePointVisitor.comparator
Methods in org.apache.lucene.search with parameters of type ArrayUtil.ByteArrayComparatorModifier and TypeMethodDescriptionprivate 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.util
Methods in org.apache.lucene.util that return ArrayUtil.ByteArrayComparatorModifier and TypeMethodDescriptionArrayUtil.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.ByteArrayComparatorModifier and TypeFieldDescriptionprivate final ArrayUtil.ByteArrayComparator
BKDWriter.commonPrefixComparator
private final ArrayUtil.ByteArrayComparator
BKDWriter.BKDMergeQueue.comparator
private final ArrayUtil.ByteArrayComparator
BKDWriter.comparator
private final ArrayUtil.ByteArrayComparator
HeapPointWriter.dimComparator
Methods in org.apache.lucene.util.bkd that return ArrayUtil.ByteArrayComparatorModifier and TypeMethodDescriptionBKDUtil.getPrefixLengthComparator
(int numBytes) Return a comparator that computes the common prefix length across the nextnumBytes
of the provided arrays.