- getUseCompoundFile
Returns true if this segment is stored as a compound file; else, false.
- getVersion
Returns the version of the code which wrote the segment.
- maxDoc
Returns number of documents in this segment (deletions are not taken into
account).
- <init>
Construct a new complete SegmentInfo instance from input.Note: this is public
only to allow access f
- getId
Return the id that uniquely identifies this segment.
- getDiagnostics
Returns diagnostics saved into the segment when it was written. The map is
immutable.
- files
Return all files referenced by this SegmentInfo.
- getAttributes
Returns the internal codec attributes map.
- getCodec
Return Codec that wrote this segment.
- toString
Used for debugging.
- setFiles
Sets the files written for this segment.
- addFile
Add this file to the set of files written for this segment.