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) BKDConfigSimpleTextBKDReader. configprotected BKDConfigSimpleTextBKDWriter. configHow 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 BKDConfigBKDRadixSelector. configprivate BKDConfigBKDReader.BKDPointTree. config(package private) BKDConfigBKDReader. configprotected BKDConfigBKDWriter. configBKD tree configuration(package private) BKDConfigHeapPointReader. config(package private) BKDConfigHeapPointWriter. configprivate BKDConfigOfflinePointReader. config(package private) BKDConfigOfflinePointWriter. configMethods in org.apache.lucene.util.bkd with parameters of type BKDConfig Modifier and Type Method Description static voidMutablePointTreeReaderUtils. 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 voidMutablePointTreeReaderUtils. sort(BKDConfig config, int maxDoc, MutablePointTree reader, int from, int to)Sort the givenMutablePointTreebased on its packed value then doc ID.static voidMutablePointTreeReaderUtils. 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 booleanBKDWriter. valueInBounds(BKDConfig config, BytesRef packedValue, byte[] minPackedValue, byte[] maxPackedValue)private static booleanBKDWriter. valueInOrder(BKDConfig config, long ord, int sortedDim, byte[] lastPackedValue, byte[] packedValue, int packedValueOffset, int doc, int lastDoc)private static booleanBKDWriter. 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)HeapPointReader(BKDConfig config, byte[] block, int start, int end)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
-