public class Stats
extends java.lang.Object
FieldReader.getStats()
.Modifier and Type | Field and Description |
---|---|
int[] |
blockCountByPrefixLen
Number of blocks at each prefix depth.
|
private int |
endBlockCount |
java.lang.String |
field
Field name.
|
int |
floorBlockCount
The number of floor blocks (meta-blocks larger than the
allowed
maxItemsPerBlock ) in the terms file. |
int |
floorSubBlockCount
The number of sub-blocks within the floor blocks.
|
long |
indexNumBytes
Byte size of the index.
|
int |
mixedBlockCount
The number of "internal" blocks (that have both
terms and sub-blocks).
|
int |
nonFloorBlockCount
The number of normal (non-floor) blocks in the terms file.
|
java.lang.String |
segment
Segment name.
|
private int |
startBlockCount |
int |
subBlocksOnlyBlockCount
The number of "internal" blocks that do not contain
terms (have only sub-blocks).
|
int |
termsOnlyBlockCount
The number of "leaf" blocks (blocks that have only
terms).
|
int |
totalBlockCount
Total number of blocks.
|
long |
totalBlockOtherBytes
Total bytes stored by the
PostingsReaderBase ,
plus the other few vInts stored in the frame. |
long |
totalBlockStatsBytes
Total number of bytes used to store term stats (not
including what the
PostingsReaderBase
stores. |
long |
totalBlockSuffixBytes
Total number of bytes used to store term suffixes.
|
long |
totalTermBytes
Total number of bytes (sum of term lengths) across all terms in the field.
|
long |
totalTermCount
Total number of terms in the field.
|
Constructor and Description |
---|
Stats(java.lang.String segment,
java.lang.String field) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
endBlock(SegmentTermsEnumFrame frame) |
(package private) void |
finish() |
(package private) void |
startBlock(SegmentTermsEnumFrame frame,
boolean isFloor) |
(package private) void |
term(BytesRef term) |
java.lang.String |
toString() |
public long indexNumBytes
public long totalTermCount
public long totalTermBytes
public int nonFloorBlockCount
public int floorBlockCount
maxItemsPerBlock
) in the terms file.public int floorSubBlockCount
public int mixedBlockCount
public int termsOnlyBlockCount
public int subBlocksOnlyBlockCount
public int totalBlockCount
public int[] blockCountByPrefixLen
private int startBlockCount
private int endBlockCount
public long totalBlockSuffixBytes
public long totalBlockStatsBytes
PostingsReaderBase
stores.public long totalBlockOtherBytes
PostingsReaderBase
,
plus the other few vInts stored in the frame.public final java.lang.String segment
public final java.lang.String field
void startBlock(SegmentTermsEnumFrame frame, boolean isFloor)
void endBlock(SegmentTermsEnumFrame frame)
void term(BytesRef term)
void finish()
public java.lang.String toString()
toString
in class java.lang.Object