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

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

Uses of SegmentInfos in org.apache.lucene.index
 

Methods in org.apache.lucene.index that return SegmentInfos
 SegmentInfos SegmentInfos.range(int first, int last)
          Returns a new SegmentInfos containing the SegmentInfo instances in the specified range first (inclusive) to last (exclusive), so total number of segments returned is last-first.
 

Methods in org.apache.lucene.index with parameters of type SegmentInfos
 MergePolicy.MergeSpecification LogMergePolicy.findMerges(SegmentInfos infos)
          Checks if any merges are now necessary and returns a MergePolicy.MergeSpecification if so.
abstract  MergePolicy.MergeSpecification MergePolicy.findMerges(SegmentInfos segmentInfos)
          Determine what set of merge operations are now necessary on the index.
 MergePolicy.MergeSpecification LogMergePolicy.findMergesForOptimize(SegmentInfos infos, int maxNumSegments, Set segmentsToOptimize)
          Returns the merges necessary to optimize the index.
abstract  MergePolicy.MergeSpecification MergePolicy.findMergesForOptimize(SegmentInfos segmentInfos, int maxSegmentCount, Set segmentsToOptimize)
          Determine what set of merge operations is necessary in order to optimize the index.
 MergePolicy.MergeSpecification LogMergePolicy.findMergesToExpungeDeletes(SegmentInfos segmentInfos)
          Finds merges necessary to expunge all deletes from the index.
abstract  MergePolicy.MergeSpecification MergePolicy.findMergesToExpungeDeletes(SegmentInfos segmentInfos)
          Determine what set of merge operations is necessary in order to expunge all deletes from the index.
protected  MergePolicy.OneMerge LogMergePolicy.makeOneMerge(SegmentInfos infos, SegmentInfos infosToMerge)
           
 boolean LogMergePolicy.useCompoundDocStore(SegmentInfos infos)
           
abstract  boolean MergePolicy.useCompoundDocStore(SegmentInfos segments)
          Returns true if the doc store files should use the compound file format.
 boolean LogMergePolicy.useCompoundFile(SegmentInfos infos, SegmentInfo info)
           
abstract  boolean MergePolicy.useCompoundFile(SegmentInfos segments, SegmentInfo newSegment)
          Returns true if a newly flushed (not from merge) segment should use the compound file format.
 

Constructors in org.apache.lucene.index with parameters of type SegmentInfos
MergePolicy.OneMerge(SegmentInfos segments, boolean useCompoundFile)
           
 



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