Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.util.bkd |
Block KD-tree, implementing the generic spatial data structure described in
this paper.
|
Modifier and Type | Class and Description |
---|---|
(package private) static class |
PointValuesWriter.MutableSortingPointValues |
Modifier and Type | Field and Description |
---|---|
private MutablePointValues |
PointValuesWriter.MutableSortingPointValues.in |
Constructor and Description |
---|
MutableSortingPointValues(MutablePointValues in,
Sorter.DocMap docMap) |
Modifier and Type | Method and Description |
---|---|
private void |
BKDWriter.build(int nodeID,
int leafNodeOffset,
MutablePointValues reader,
int from,
int to,
IndexOutput out,
byte[] minPackedValue,
byte[] maxPackedValue,
int[] parentSplits,
byte[] splitPackedValues,
long[] leafBlockFPs,
int[] spareDocIds) |
static void |
MutablePointsReaderUtils.partition(int maxDoc,
int splitDim,
int bytesPerDim,
int commonPrefixLen,
MutablePointValues reader,
int from,
int to,
int mid,
BytesRef scratch1,
BytesRef scratch2)
Partition points around
mid . |
static void |
MutablePointsReaderUtils.sort(int maxDoc,
int packedBytesLength,
MutablePointValues reader,
int from,
int to)
Sort the given
MutablePointValues based on its packed value then doc ID. |
static void |
MutablePointsReaderUtils.sortByDim(int sortedDim,
int bytesPerDim,
int[] commonPrefixLengths,
MutablePointValues reader,
int from,
int to,
BytesRef scratch1,
BytesRef scratch2)
Sort points on the given dimension.
|
long |
BKDWriter.writeField(IndexOutput out,
java.lang.String fieldName,
MutablePointValues reader)
Write a field from a
MutablePointValues . |
private long |
BKDWriter.writeField1Dim(IndexOutput out,
java.lang.String fieldName,
MutablePointValues reader) |
private long |
BKDWriter.writeFieldNDims(IndexOutput out,
java.lang.String fieldName,
MutablePointValues values) |