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

Packages that use SegmentInfo
org.apache.lucene.index: Code to maintain and access indices.

Uses of SegmentInfo in org.apache.lucene.index

Fields in org.apache.lucene.index with type parameters of type SegmentInfo
`List<SegmentInfo>` `MergePolicy.OneMerge.segments`

Methods in org.apache.lucene.index that return SegmentInfo
`SegmentInfo` `SegmentInfos.info(int i)`

Methods in org.apache.lucene.index that return types with arguments of type SegmentInfo
`List<SegmentInfo>` `SegmentInfos.asList()` Returns all contained segments as an unmodifiable `List` view.
`Set<SegmentInfo>` `SegmentInfos.asSet()` Returns all contained segments as an unmodifiable `Set` view.
`Collection<SegmentInfo>` `IndexWriter.getMergingSegments()` Expert: to be used by a `MergePolicy` to avoid selecting merges for segments already being merged.
`Iterator<SegmentInfo>` `SegmentInfos.iterator()` Returns an unmodifiable `Iterator` of contained segments in order.

Methods in org.apache.lucene.index with parameters of type SegmentInfo
`void` `SegmentInfos.add(SegmentInfo si)`
`boolean` `SegmentInfos.contains(SegmentInfo si)`
`static SegmentReader` `SegmentReader.get(boolean readOnly, Directory dir, SegmentInfo si, int readBufferSize, boolean doOpenStores, int termInfosIndexDivisor)`
`static SegmentReader` `SegmentReader.get(boolean readOnly, SegmentInfo si, int termInfosIndexDivisor)`
`int` `SegmentInfos.indexOf(SegmentInfo si)`
`protected boolean` `LogMergePolicy.isOptimized(SegmentInfo info)` Returns true if this single info is optimized (has no pending norms or deletes, is in the same dir as the writer, and matches the current compound file setting
`int` `IndexWriter.numDeletedDocs(SegmentInfo info)` Obtain the number of deleted docs for a pooled reader.
`void` `SegmentInfos.remove(SegmentInfo si)`
`String` `IndexWriter.segString(SegmentInfo info)`
`protected boolean` `UpgradeIndexMergePolicy.shouldUpgradeSegment(SegmentInfo si)` Returns if the given segment should be upgraded.
`protected long` `LogDocMergePolicy.size(SegmentInfo info)`
`protected long` `LogByteSizeMergePolicy.size(SegmentInfo info)`
`protected abstract long` `LogMergePolicy.size(SegmentInfo info)`
`protected long` `LogMergePolicy.sizeBytes(SegmentInfo info)`
`protected long` `LogMergePolicy.sizeDocs(SegmentInfo info)`
`boolean` `NoMergePolicy.useCompoundFile(SegmentInfos segments, SegmentInfo newSegment)`
`abstract boolean` `MergePolicy.useCompoundFile(SegmentInfos segments, SegmentInfo newSegment)` Returns true if a new segment (regardless of its origin) should use the compound file format.
`boolean` `UpgradeIndexMergePolicy.useCompoundFile(SegmentInfos segments, SegmentInfo newSegment)`
`boolean` `TieredMergePolicy.useCompoundFile(SegmentInfos infos, SegmentInfo mergedInfo)`
`boolean` `LogMergePolicy.useCompoundFile(SegmentInfos infos, SegmentInfo mergedInfo)`

Method parameters in org.apache.lucene.index with type arguments of type SegmentInfo
`void` `SegmentInfos.addAll(Iterable<SegmentInfo> sis)`
`MergePolicy.MergeSpecification` `NoMergePolicy.findMergesForOptimize(SegmentInfos segmentInfos, int maxSegmentCount, Map<SegmentInfo,Boolean> segmentsToOptimize)`
`abstract MergePolicy.MergeSpecification` `MergePolicy.findMergesForOptimize(SegmentInfos segmentInfos, int maxSegmentCount, Map<SegmentInfo,Boolean> segmentsToOptimize)` Determine what set of merge operations is necessary in order to optimize the index.
`MergePolicy.MergeSpecification` `UpgradeIndexMergePolicy.findMergesForOptimize(SegmentInfos segmentInfos, int maxSegmentCount, Map<SegmentInfo,Boolean> segmentsToOptimize)`
`MergePolicy.MergeSpecification` `TieredMergePolicy.findMergesForOptimize(SegmentInfos infos, int maxSegmentCount, Map<SegmentInfo,Boolean> segmentsToOptimize)`
`MergePolicy.MergeSpecification` `LogMergePolicy.findMergesForOptimize(SegmentInfos infos, int maxNumSegments, Map<SegmentInfo,Boolean> segmentsToOptimize)` Returns the merges necessary to optimize the index.
`protected boolean` `LogMergePolicy.isOptimized(SegmentInfos infos, int maxNumSegments, Map<SegmentInfo,Boolean> segmentsToOptimize)`
`protected TieredMergePolicy.MergeScore` `TieredMergePolicy.score(List<SegmentInfo> candidate, boolean hitTooLarge, long mergingBytes)` Expert: scores one merge; subclasses can override.
`String` `IndexWriter.segString(Iterable<SegmentInfo> infos)`

Constructor parameters in org.apache.lucene.index with type arguments of type SegmentInfo
`MergePolicy.OneMerge(List<SegmentInfo> segments)`

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.