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 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
(package private) BKDConfig
BKDReader. config
protected BKDConfig
BKDWriter. config
BKD tree configuration(package private) BKDConfig
HeapPointReader. config
(package private) 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
MutablePointsReaderUtils. partition(BKDConfig config, int maxDoc, int splitDim, int commonPrefixLen, MutablePointValues reader, int from, int to, int mid, BytesRef scratch1, BytesRef scratch2)
Partition points aroundmid
.static void
MutablePointsReaderUtils. sort(BKDConfig config, int maxDoc, MutablePointValues reader, int from, int to)
Sort the givenMutablePointValues
based on its packed value then doc ID.static void
MutablePointsReaderUtils. sortByDim(BKDConfig config, int sortedDim, int[] commonPrefixLengths, MutablePointValues 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 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)
HeapPointReader(BKDConfig config, byte[] block, int start, int end)
HeapPointValue(BKDConfig config, byte[] value)
HeapPointWriter(BKDConfig config, int size)
IntersectState(IndexInput in, BKDConfig config, PointValues.IntersectVisitor visitor, BKDReader.IndexTree indexVisitor)
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
-