Uses of Class
org.apache.lucene.util.bkd.BKDRadixSelector.PathSlice
-
Packages that use BKDRadixSelector.PathSlice 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 BKDRadixSelector.PathSlice in org.apache.lucene.codecs.simpletext
Methods in org.apache.lucene.codecs.simpletext with parameters of type BKDRadixSelector.PathSlice Modifier and Type Method Description private void
SimpleTextBKDWriter. build(int nodeID, int leafNodeOffset, BKDRadixSelector.PathSlice points, IndexOutput out, BKDRadixSelector radixSelector, byte[] minPackedValue, byte[] maxPackedValue, byte[] splitPackedValues, long[] leafBlockFPs, int[] spareDocIds)
The array (sized numDims) of PathSlice describe the cell we have currently recursed to. -
Uses of BKDRadixSelector.PathSlice in org.apache.lucene.util.bkd
Methods in org.apache.lucene.util.bkd with parameters of type BKDRadixSelector.PathSlice Modifier and Type Method Description private void
BKDWriter. build(int nodeID, int leafNodeOffset, BKDRadixSelector.PathSlice points, IndexOutput out, BKDRadixSelector radixSelector, byte[] minPackedValue, byte[] maxPackedValue, int[] parentSplits, byte[] splitPackedValues, long[] leafBlockFPs, int[] spareDocIds)
The point writer contains the data that is going to be splitted using radix selection.private void
BKDWriter. computePackedValueBounds(BKDRadixSelector.PathSlice slice, byte[] minPackedValue, byte[] maxPackedValue)
byte[]
BKDRadixSelector. select(BKDRadixSelector.PathSlice points, BKDRadixSelector.PathSlice[] partitionSlices, long from, long to, long partitionPoint, int dim, int dimCommonPrefix)
It uses the providedpoints
from the givenfrom
to the givento
to populate thepartitionSlices
array holder (length > 1) with two path slices so the path slice at position 0 containspartition - from
points where the value of thedim
is lower or equal to theto -from
points on the slice at position 1.
-