Uses of Class
org.apache.lucene.util.bkd.BKDConfig
-
Packages that use BKDConfig Package Description org.apache.lucene.codecs.simpletext Simpletext Codec: writes human readable postings.org.apache.lucene.util.bkd Block KD-tree, implementing the generic spatial data structure described in this paper. -
-
Uses of BKDConfig in org.apache.lucene.codecs.simpletext
Fields in org.apache.lucene.codecs.simpletext declared as BKDConfig Modifier and Type Field Description (package private) BKDConfig
SimpleTextBKDReader. config
protected BKDConfig
SimpleTextBKDWriter. config
How many dimensions we are storing at the leaf (data) nodesConstructors in org.apache.lucene.codecs.simpletext with parameters of type BKDConfig Constructor Description SimpleTextBKDWriter(int maxDoc, Directory tempDir, java.lang.String tempFileNamePrefix, BKDConfig config, double maxMBSortInHeap, long totalPointCount)
-
Uses of BKDConfig in org.apache.lucene.util.bkd
Fields in org.apache.lucene.util.bkd declared as BKDConfig Modifier and Type Field Description private BKDConfig
BKDRadixSelector. config
private BKDConfig
BKDReader.BKDPointTree. config
(package private) BKDConfig
BKDReader. config
protected BKDConfig
BKDWriter. config
BKD tree configurationprivate BKDConfig
HeapPointWriter. config
private BKDConfig
OfflinePointReader. config
(package private) BKDConfig
OfflinePointWriter. config
Methods in org.apache.lucene.util.bkd with parameters of type BKDConfig Modifier and Type Method Description static void
MutablePointTreeReaderUtils. partition(BKDConfig config, int maxDoc, int splitDim, int commonPrefixLen, MutablePointTree reader, int from, int to, int mid, BytesRef scratch1, BytesRef scratch2)
Partition points aroundmid
.static void
MutablePointTreeReaderUtils. sort(BKDConfig config, int maxDoc, MutablePointTree reader, int from, int to)
Sort the givenMutablePointTree
based on its packed value then doc ID.static void
MutablePointTreeReaderUtils. sortByDim(BKDConfig config, int sortedDim, int[] commonPrefixLengths, MutablePointTree reader, int from, int to, BytesRef scratch1, BytesRef scratch2)
Sort points on the given dimension.private static boolean
BKDWriter. valueInBounds(BKDConfig config, BytesRef packedValue, byte[] minPackedValue, byte[] maxPackedValue)
private static boolean
BKDWriter. valueInOrder(BKDConfig config, long ord, int sortedDim, byte[] lastPackedValue, byte[] packedValue, int packedValueOffset, int doc, int lastDoc)
private static boolean
BKDWriter. valuesInOrderAndBounds(BKDConfig config, int count, int sortedDim, byte[] minPackedValue, byte[] maxPackedValue, java.util.function.IntFunction<BytesRef> values, int[] docs, int docsOffset)
Constructors in org.apache.lucene.util.bkd with parameters of type BKDConfig Constructor Description BKDPointTree(IndexInput innerNodes, IndexInput leafNodes, BKDConfig config, int numLeaves, int version, long pointCount, byte[] minPackedValue, byte[] maxPackedValue, boolean isTreeBalanced)
BKDPointTree(IndexInput innerNodes, IndexInput leafNodes, BKDConfig config, int numLeaves, int version, long pointCount, int nodeID, int level, byte[] minPackedValue, byte[] maxPackedValue, BKDReader.BKDReaderDocIDSetIterator scratchIterator, byte[] scratchDataPackedValue, byte[] scratchMinIndexPackedValue, byte[] scratchMaxIndexPackedValue, int[] commonPrefixLengths, boolean isTreeBalanced)
BKDRadixSelector(BKDConfig config, int maxPointsSortInHeap, Directory tempDir, java.lang.String tempFileNamePrefix)
Sole constructor.BKDWriter(int maxDoc, Directory tempDir, java.lang.String tempFileNamePrefix, BKDConfig config, double maxMBSortInHeap, long totalPointCount)
HeapPointValue(BKDConfig config, byte[] value)
HeapPointWriter(BKDConfig config, int size)
OfflinePointReader(BKDConfig config, Directory tempDir, java.lang.String tempFileName, long start, long length, byte[] reusableBuffer)
OfflinePointValue(BKDConfig config, byte[] value)
OfflinePointWriter(BKDConfig config, Directory tempDir, java.lang.String tempFileNamePrefix, java.lang.String desc, long expectedCount)
Create a new writer with an unknown number of incoming points
-