org.apache.lucene.index

Class SegmentCommitInfo

    • Constructor Detail

      • SegmentCommitInfo

        public SegmentCommitInfo(SegmentInfo info,
                                 int delCount,
                                 long delGen,
                                 long fieldInfosGen,
                                 long docValuesGen)
        Sole constructor.
        Parameters:
        info - SegmentInfo that we wrap
        delCount - number of deleted documents in this segment
        delGen - deletion generation number (used to name deletion files)
        fieldInfosGen - FieldInfos generation number (used to name field-infos files)
        docValuesGen - DocValues generation number (used to name doc-values updates files)