Class Stats
java.lang.Object
org.apache.lucene.backward_codecs.lucene40.blocktree.Stats
BlockTree statistics for a single field returned by
FieldReader.getStats()
.- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
Field Summary
Modifier and TypeFieldDescriptionint[]
Number of blocks at each prefix depth.final long[]
Number of times each compression method has been used.final String
Field name.int
The number of floor blocks (meta-blocks larger than the allowedmaxItemsPerBlock
) in the terms file.int
The number of sub-blocks within the floor blocks.long
Byte size of the index.int
The number of "internal" blocks (that have both terms and sub-blocks).int
The number of normal (non-floor) blocks in the terms file.final String
Segment name.int
The number of "internal" blocks that do not contain terms (have only sub-blocks).int
The number of "leaf" blocks (blocks that have only terms).int
Total number of blocks.long
Total bytes stored by thePostingsReaderBase
, plus the other few vInts stored in the frame.long
Total number of bytes used to store term stats (not including what thePostingsReaderBase
stores.long
Total number of bytes used to store term suffixes.long
Total number of bytes (sum of term lengths) across all terms in the field.long
Total number of terms in the field.long
Total number of suffix bytes before compression. -
Method Summary
-
Field Details
-
indexNumBytes
public long indexNumBytesByte size of the index. -
totalTermCount
public long totalTermCountTotal number of terms in the field. -
totalTermBytes
public long totalTermBytesTotal number of bytes (sum of term lengths) across all terms in the field. -
nonFloorBlockCount
public int nonFloorBlockCountThe number of normal (non-floor) blocks in the terms file. -
floorBlockCount
public int floorBlockCountThe number of floor blocks (meta-blocks larger than the allowedmaxItemsPerBlock
) in the terms file. -
floorSubBlockCount
public int floorSubBlockCountThe number of sub-blocks within the floor blocks. -
mixedBlockCount
public int mixedBlockCountThe number of "internal" blocks (that have both terms and sub-blocks). -
termsOnlyBlockCount
public int termsOnlyBlockCountThe number of "leaf" blocks (blocks that have only terms). -
subBlocksOnlyBlockCount
public int subBlocksOnlyBlockCountThe number of "internal" blocks that do not contain terms (have only sub-blocks). -
totalBlockCount
public int totalBlockCountTotal number of blocks. -
blockCountByPrefixLen
public int[] blockCountByPrefixLenNumber of blocks at each prefix depth. -
totalBlockSuffixBytes
public long totalBlockSuffixBytesTotal number of bytes used to store term suffixes. -
compressionAlgorithms
public final long[] compressionAlgorithmsNumber of times each compression method has been used. 0 = uncompressed 1 = lowercase_ascii 2 = LZ4 -
totalUncompressedBlockSuffixBytes
public long totalUncompressedBlockSuffixBytesTotal number of suffix bytes before compression. -
totalBlockStatsBytes
public long totalBlockStatsBytesTotal number of bytes used to store term stats (not including what thePostingsReaderBase
stores. -
totalBlockOtherBytes
public long totalBlockOtherBytesTotal bytes stored by thePostingsReaderBase
, plus the other few vInts stored in the frame. -
segment
Segment name. -
field
Field name.
-
-
Method Details