## Uses of Class
org.apache.lucene.index.SegmentInfos

Packages that use SegmentInfos
Package | Description
--- | ---
org.apache.lucene.codecs.lucene3x | Codec to support Lucene 3.x indexes (readonly)
org.apache.lucene.index | Code to maintain and access indices.

### Uses of SegmentInfos in org.apache.lucene.codecs.lucene3x

Methods in org.apache.lucene.codecs.lucene3x with parameters of type SegmentInfos
Modifier and Type | Method and Description
--- | ---
`static void` | Lucene3xSegmentInfoReader.`readLegacyInfos(SegmentInfos infos, Directory directory, IndexInput input, int format)` Deprecated.

### Uses of SegmentInfos in org.apache.lucene.index

Methods in org.apache.lucene.index that return SegmentInfos
Modifier and Type | Method and Description
--- | ---
`SegmentInfos` | SegmentInfos.`clone()` Returns a copy of this instance, also copying each SegmentInfo.

Methods in org.apache.lucene.index with parameters of type SegmentInfos
Modifier and Type | Method and Description
--- | ---
`MergePolicy.MergeSpecification` | UpgradeIndexMergePolicy.`findForcedDeletesMerges(SegmentInfos segmentInfos)`
`MergePolicy.MergeSpecification` | TieredMergePolicy.`findForcedDeletesMerges(SegmentInfos infos)`
`MergePolicy.MergeSpecification` | NoMergePolicy.`findForcedDeletesMerges(SegmentInfos segmentInfos)`
`abstract MergePolicy.MergeSpecification` | MergePolicy.`findForcedDeletesMerges(SegmentInfos segmentInfos)` Determine what set of merge operations is necessary in order to expunge all deletes from the index.
`MergePolicy.MergeSpecification` | LogMergePolicy.`findForcedDeletesMerges(SegmentInfos segmentInfos)` Finds merges necessary to force-merge all deletes from the index.
`MergePolicy.MergeSpecification` | UpgradeIndexMergePolicy.`findForcedMerges(SegmentInfos segmentInfos, int maxSegmentCount, Map<SegmentInfoPerCommit,Boolean> segmentsToMerge)`
`MergePolicy.MergeSpecification` | TieredMergePolicy.`findForcedMerges(SegmentInfos infos, int maxSegmentCount, Map<SegmentInfoPerCommit,Boolean> segmentsToMerge)`
`MergePolicy.MergeSpecification` | NoMergePolicy.`findForcedMerges(SegmentInfos segmentInfos, int maxSegmentCount, Map<SegmentInfoPerCommit,Boolean> segmentsToMerge)`
`abstract MergePolicy.MergeSpecification` | MergePolicy.`findForcedMerges(SegmentInfos segmentInfos, int maxSegmentCount, Map<SegmentInfoPerCommit,Boolean> segmentsToMerge)` Determine what set of merge operations is necessary in order to merge to <= the specified segment count.
`MergePolicy.MergeSpecification` | LogMergePolicy.`findForcedMerges(SegmentInfos infos, int maxNumSegments, Map<SegmentInfoPerCommit,Boolean> segmentsToMerge)` Returns the merges necessary to merge the index down to a specified number of segments.
`MergePolicy.MergeSpecification` | UpgradeIndexMergePolicy.`findMerges(MergePolicy.MergeTrigger mergeTrigger, SegmentInfos segmentInfos)`
`MergePolicy.MergeSpecification` | TieredMergePolicy.`findMerges(MergePolicy.MergeTrigger mergeTrigger, SegmentInfos infos)`
`MergePolicy.MergeSpecification` | NoMergePolicy.`findMerges(MergePolicy.MergeTrigger mergeTrigger, SegmentInfos segmentInfos)`
`abstract MergePolicy.MergeSpecification` | MergePolicy.`findMerges(MergePolicy.MergeTrigger mergeTrigger, SegmentInfos segmentInfos)` Determine what set of merge operations are now necessary on the index.
`MergePolicy.MergeSpecification` | LogMergePolicy.`findMerges(MergePolicy.MergeTrigger mergeTrigger, SegmentInfos infos)` Checks if any merges are now necessary and returns a `MergePolicy.MergeSpecification` if so.
`protected boolean` | LogMergePolicy.`isMerged(SegmentInfos infos, int maxNumSegments, Map<SegmentInfoPerCommit,Boolean> segmentsToMerge)` Returns true if the number of segments eligible for merging is less than or equal to the specified `maxNumSegments`.
`boolean` | UpgradeIndexMergePolicy.`useCompoundFile(SegmentInfos segments, SegmentInfoPerCommit newSegment)`
`boolean` | TieredMergePolicy.`useCompoundFile(SegmentInfos infos, SegmentInfoPerCommit mergedInfo)`
`boolean` | NoMergePolicy.`useCompoundFile(SegmentInfos segments, SegmentInfoPerCommit newSegment)`
`abstract boolean` | MergePolicy.`useCompoundFile(SegmentInfos segments, SegmentInfoPerCommit newSegment)` Returns true if a new segment (regardless of its origin) should use the compound file format.
`boolean` | LogMergePolicy.`useCompoundFile(SegmentInfos infos, SegmentInfoPerCommit mergedInfo)`