Package org.apache.lucene.util.bkd
Class BKDConfig
- java.lang.Object
-
- org.apache.lucene.util.bkd.BKDConfig
-
public final class BKDConfig extends Object
Basic parameters for indexing points on the BKD tree.
-
-
Field Summary
Fields Modifier and Type Field Description intbytesPerDimHow many bytes each value in each dimension takes.intbytesPerDocpackedBytesLength plus docID sizestatic intDEFAULT_MAX_POINTS_IN_LEAF_NODEDefault maximum number of point in each leaf blockstatic intMAX_DIMSMaximum number of index dimensions (2 * max index dimensions)static intMAX_INDEX_DIMSMaximum number of index dimensionsintmaxPointsInLeafNodemax points allowed on a Leaf blockintnumDimsHow many dimensions we are storing at the leaf (data) nodesintnumIndexDimsHow many dimensions we are indexing in the internal nodesintpackedBytesLengthnumDataDims * bytesPerDimintpackedIndexBytesLengthnumIndexDims * bytesPerDim
-
Constructor Summary
Constructors Constructor Description BKDConfig(int numDims, int numIndexDims, int bytesPerDim, int maxPointsInLeafNode)
-
-
-
Field Detail
-
DEFAULT_MAX_POINTS_IN_LEAF_NODE
public static final int DEFAULT_MAX_POINTS_IN_LEAF_NODE
Default maximum number of point in each leaf block- See Also:
- Constant Field Values
-
MAX_DIMS
public static final int MAX_DIMS
Maximum number of index dimensions (2 * max index dimensions)- See Also:
- Constant Field Values
-
MAX_INDEX_DIMS
public static final int MAX_INDEX_DIMS
Maximum number of index dimensions- See Also:
- Constant Field Values
-
numDims
public final int numDims
How many dimensions we are storing at the leaf (data) nodes
-
numIndexDims
public final int numIndexDims
How many dimensions we are indexing in the internal nodes
-
bytesPerDim
public final int bytesPerDim
How many bytes each value in each dimension takes.
-
maxPointsInLeafNode
public final int maxPointsInLeafNode
max points allowed on a Leaf block
-
packedBytesLength
public final int packedBytesLength
numDataDims * bytesPerDim
-
packedIndexBytesLength
public final int packedIndexBytesLength
numIndexDims * bytesPerDim
-
bytesPerDoc
public final int bytesPerDoc
packedBytesLength plus docID size
-
-