Class Stats
java.lang.Object
org.apache.lucene.backward_codecs.lucene40.blocktree.Stats
BlockTree statistics for a single field returned by
FieldReader.getStats().-
Field Summary
FieldsModifier and TypeFieldDescriptionint[]Number of blocks at each prefix depth.final long[]Number of times each compression method has been used.private intfinal StringField name.intThe number of floor blocks (meta-blocks larger than the allowedmaxItemsPerBlock) in the terms file.intThe number of sub-blocks within the floor blocks.longByte size of the index.intThe number of "internal" blocks (that have both terms and sub-blocks).intThe number of normal (non-floor) blocks in the terms file.final StringSegment name.private intintThe number of "internal" blocks that do not contain terms (have only sub-blocks).intThe number of "leaf" blocks (blocks that have only terms).intTotal number of blocks.longTotal bytes stored by thePostingsReaderBase, plus the other few vInts stored in the frame.longTotal number of bytes used to store term stats (not including what thePostingsReaderBasestores.longTotal number of bytes used to store term suffixes.longTotal number of bytes (sum of term lengths) across all terms in the field.longTotal number of terms in the field.longTotal number of suffix bytes before compression. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidendBlock(SegmentTermsEnumFrame frame) (package private) voidfinish()(package private) voidstartBlock(SegmentTermsEnumFrame frame, boolean isFloor) (package private) voidtoString()
-
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. -
startBlockCount
private int startBlockCount -
endBlockCount
private int endBlockCount -
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 thePostingsReaderBasestores. -
totalBlockOtherBytes
public long totalBlockOtherBytesTotal bytes stored by thePostingsReaderBase, plus the other few vInts stored in the frame. -
segment
Segment name. -
field
Field name.
-
-
Constructor Details
-
Stats
-
-
Method Details