The SegmentInfos type exposes the following members.

Fields

  NameDescription
Public fieldcounter
Public fieldStatic memberFORMAT
The file format version, a negative number.
Public fieldStatic memberFORMAT_CHECKSUM
This format adds a checksum at the end of the file to ensure all bytes were successfully written.
Public fieldStatic memberFORMAT_DEL_COUNT
This format adds the deletion count for each segment. This way IndexWriter can efficiently report numDocs().
Public fieldStatic memberFORMAT_DIAGNOSTICS
This format adds optional per-segment String dianostics storage, and switches userData to Map
Public fieldStatic memberFORMAT_HAS_PROX
This format adds the boolean hasProx to record if any fields in the segment store prox information (ie, have omitTermFreqAndPositions==false)
Public fieldStatic memberFORMAT_LOCKLESS
This format adds details used for lockless commits. It differs slightly from the previous format in that file names are never re-used (write once). Instead, each file is written to the next generation. For example, segments_1, segments_2, etc. This allows us to not use a commit lock. See file formats for details.
Public fieldStatic memberFORMAT_SHARED_DOC_STORE
This format allows multiple segments to share a single vectors and stored fields file.
Public fieldStatic memberFORMAT_SINGLE_NORM_FILE
This format adds a "hasSingleNormFile" flag into each segment info. See LUCENE-756 for details.
Public fieldStatic memberFORMAT_USER_DATA
This format adds optional commit userData (String) storage.

See Also