Uses of Class org.apache.lucene.index.SegmentInfo (Lucene 3.6.2 API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## 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.isMerged(SegmentInfo info)` Returns true if this single info is already fully merged (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 abstract long` | `LogMergePolicy.size(SegmentInfo info)`
`protected long` | `LogByteSizeMergePolicy.size(SegmentInfo info)`
`protected long` | `LogMergePolicy.sizeBytes(SegmentInfo info)`
`protected long` | `LogMergePolicy.sizeDocs(SegmentInfo info)`
`boolean` | `TieredMergePolicy.useCompoundFile(SegmentInfos infos, SegmentInfo mergedInfo)`
`boolean` | `LogMergePolicy.useCompoundFile(SegmentInfos infos, SegmentInfo mergedInfo)`
`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` | `NoMergePolicy.useCompoundFile(SegmentInfos segments, SegmentInfo newSegment)`

Method parameters in org.apache.lucene.index with type arguments of type SegmentInfo
`void` | `SegmentInfos.addAll(Iterable<SegmentInfo> sis)`
`MergePolicy.MergeSpecification` | `TieredMergePolicy.findForcedMerges(SegmentInfos infos, int maxSegmentCount, Map<SegmentInfo,Boolean> segmentsToMerge)`
`MergePolicy.MergeSpecification` | `LogMergePolicy.findForcedMerges(SegmentInfos infos, int maxNumSegments, Map<SegmentInfo,Boolean> segmentsToMerge)` Returns the merges necessary to merge the index down to a specified number of segments.
`abstract MergePolicy.MergeSpecification` | `MergePolicy.findForcedMerges(SegmentInfos segmentInfos, int maxSegmentCount, Map<SegmentInfo,Boolean> segmentsToMerge)` Determine what set of merge operations is necessary in order to merge to <= the specified segment count.
`MergePolicy.MergeSpecification` | `UpgradeIndexMergePolicy.findForcedMerges(SegmentInfos segmentInfos, int maxSegmentCount, Map<SegmentInfo,Boolean> segmentsToMerge)`
`MergePolicy.MergeSpecification` | `NoMergePolicy.findForcedMerges(SegmentInfos segmentInfos, int maxSegmentCount, Map<SegmentInfo,Boolean> segmentsToMerge)`
`protected boolean` | `LogMergePolicy.isMerged(SegmentInfos infos, int maxNumSegments, Map<SegmentInfo,Boolean> segmentsToMerge)`
`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)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES