Uses of Class
org.apache.lucene.util.bkd.BKDConfig
Packages that use BKDConfig
Package
Description
Simpletext Codec: writes human readable postings.
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 BKDConfigModifier and TypeFieldDescription(package private) final BKDConfig
SimpleTextBKDReader.config
protected final BKDConfig
SimpleTextBKDWriter.config
How many dimensions we are storing at the leaf (data) nodesConstructors in org.apache.lucene.codecs.simpletext with parameters of type BKDConfigModifierConstructorDescriptionSimpleTextBKDWriter
(int maxDoc, Directory tempDir, 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 BKDConfigModifier and TypeFieldDescriptionprivate final BKDConfig
BKDRadixSelector.config
private final BKDConfig
BKDReader.BKDPointTree.config
(package private) final BKDConfig
BKDReader.config
protected final BKDConfig
BKDWriter.config
BKD tree configurationprivate final BKDConfig
HeapPointWriter.config
private final BKDConfig
OfflinePointReader.config
(package private) final BKDConfig
OfflinePointWriter.config
Methods in org.apache.lucene.util.bkd with parameters of type BKDConfigModifier and TypeMethodDescriptionstatic 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, IntFunction<BytesRef> values, int[] docs, int docsOffset) Constructors in org.apache.lucene.util.bkd with parameters of type BKDConfigModifierConstructorDescriptionprivate
BKDPointTree
(IndexInput innerNodes, IndexInput leafNodes, BKDConfig config, int numLeaves, int version, long pointCount, byte[] minPackedValue, byte[] maxPackedValue, boolean isTreeBalanced) private
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, String tempFileNamePrefix) Sole constructor.BKDWriter
(int maxDoc, Directory tempDir, String tempFileNamePrefix, BKDConfig config, double maxMBSortInHeap, long totalPointCount) (package private)
HeapPointValue
(BKDConfig config, byte[] value) HeapPointWriter
(BKDConfig config, int size) OfflinePointReader
(BKDConfig config, Directory tempDir, String tempFileName, long start, long length, byte[] reusableBuffer) (package private)
OfflinePointValue
(BKDConfig config, byte[] value) OfflinePointWriter
(BKDConfig config, Directory tempDir, String tempFileNamePrefix, String desc, long expectedCount) Create a new writer with an unknown number of incoming points