Package org.apache.lucene.util.bkd
Class BKDConfig
java.lang.Object
org.apache.lucene.util.bkd.BKDConfig
Basic parameters for indexing points on the BKD tree.
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
How many bytes each value in each dimension takes.final int
packedBytesLength plus docID sizestatic final int
Default maximum number of point in each leaf blockstatic final int
Maximum number of index dimensions (2 * max index dimensions)static final int
Maximum number of index dimensionsfinal int
max points allowed on a Leaf blockfinal int
How many dimensions we are storing at the leaf (data) nodesfinal int
How many dimensions we are indexing in the internal nodesfinal int
numDataDims * bytesPerDimfinal int
numIndexDims * bytesPerDim -
Constructor Summary
ConstructorDescriptionBKDConfig
(int numDims, int numIndexDims, int bytesPerDim, int maxPointsInLeafNode) -
Method Summary
-
Field Details
-
DEFAULT_MAX_POINTS_IN_LEAF_NODE
public static final int DEFAULT_MAX_POINTS_IN_LEAF_NODEDefault maximum number of point in each leaf block- See Also:
-
MAX_DIMS
public static final int MAX_DIMSMaximum number of index dimensions (2 * max index dimensions)- See Also:
-
MAX_INDEX_DIMS
public static final int MAX_INDEX_DIMSMaximum number of index dimensions- See Also:
-
numDims
public final int numDimsHow many dimensions we are storing at the leaf (data) nodes -
numIndexDims
public final int numIndexDimsHow many dimensions we are indexing in the internal nodes -
bytesPerDim
public final int bytesPerDimHow many bytes each value in each dimension takes. -
maxPointsInLeafNode
public final int maxPointsInLeafNodemax points allowed on a Leaf block -
packedBytesLength
public final int packedBytesLengthnumDataDims * bytesPerDim -
packedIndexBytesLength
public final int packedIndexBytesLengthnumIndexDims * bytesPerDim -
bytesPerDoc
public final int bytesPerDocpackedBytesLength plus docID size
-
-
Constructor Details
-
BKDConfig
public BKDConfig(int numDims, int numIndexDims, int bytesPerDim, int maxPointsInLeafNode)
-