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

Packages that use SegmentInfoPerCommit
org.apache.lucene.codecs Codecs API: API for customization of the encoding and structure of the index. 
org.apache.lucene.codecs.lucene40 Lucene 4.0 file format. 
org.apache.lucene.codecs.simpletext Simpletext Codec: writes human readable postings. 
org.apache.lucene.index Code to maintain and access indices. 
 

Uses of SegmentInfoPerCommit in org.apache.lucene.codecs
 

Methods in org.apache.lucene.codecs with parameters of type SegmentInfoPerCommit
abstract  void LiveDocsFormat.files(SegmentInfoPerCommit info, Collection<String> files)
          Records all files in use by this SegmentInfoPerCommit into the files argument.
abstract  Bits LiveDocsFormat.readLiveDocs(Directory dir, SegmentInfoPerCommit info, IOContext context)
          Read live docs bits.
abstract  void LiveDocsFormat.writeLiveDocs(MutableBits bits, Directory dir, SegmentInfoPerCommit info, int newDelCount, IOContext context)
          Persist live docs bits.
 

Uses of SegmentInfoPerCommit in org.apache.lucene.codecs.lucene40
 

Methods in org.apache.lucene.codecs.lucene40 with parameters of type SegmentInfoPerCommit
 void Lucene40LiveDocsFormat.files(SegmentInfoPerCommit info, Collection<String> files)
           
 Bits Lucene40LiveDocsFormat.readLiveDocs(Directory dir, SegmentInfoPerCommit info, IOContext context)
           
 void Lucene40LiveDocsFormat.writeLiveDocs(MutableBits bits, Directory dir, SegmentInfoPerCommit info, int newDelCount, IOContext context)
           
 

Uses of SegmentInfoPerCommit in org.apache.lucene.codecs.simpletext
 

Methods in org.apache.lucene.codecs.simpletext with parameters of type SegmentInfoPerCommit
 void SimpleTextLiveDocsFormat.files(SegmentInfoPerCommit info, Collection<String> files)
           
 Bits SimpleTextLiveDocsFormat.readLiveDocs(Directory dir, SegmentInfoPerCommit info, IOContext context)
           
 void SimpleTextLiveDocsFormat.writeLiveDocs(MutableBits bits, Directory dir, SegmentInfoPerCommit info, int newDelCount, IOContext context)
           
 

Uses of SegmentInfoPerCommit in org.apache.lucene.index
 

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

Methods in org.apache.lucene.index that return SegmentInfoPerCommit
 SegmentInfoPerCommit SegmentInfoPerCommit.clone()
           
 SegmentInfoPerCommit SegmentInfos.info(int i)
           
 

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

Methods in org.apache.lucene.index with parameters of type SegmentInfoPerCommit
 void SegmentInfos.add(SegmentInfoPerCommit si)
           
protected  boolean LogMergePolicy.isMerged(SegmentInfoPerCommit 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(SegmentInfoPerCommit info)
          Obtain the number of deleted docs for a pooled reader.
 void SegmentInfos.remove(SegmentInfoPerCommit si)
          WARNING: O(N) cost
 String IndexWriter.segString(SegmentInfoPerCommit info)
           
protected  boolean UpgradeIndexMergePolicy.shouldUpgradeSegment(SegmentInfoPerCommit si)
          Returns if the given segment should be upgraded.
protected  long LogDocMergePolicy.size(SegmentInfoPerCommit info)
           
protected abstract  long LogMergePolicy.size(SegmentInfoPerCommit info)
           
protected  long LogByteSizeMergePolicy.size(SegmentInfoPerCommit info)
           
protected  long LogMergePolicy.sizeBytes(SegmentInfoPerCommit info)
           
protected  long LogMergePolicy.sizeDocs(SegmentInfoPerCommit info)
           
 boolean TieredMergePolicy.useCompoundFile(SegmentInfos infos, SegmentInfoPerCommit mergedInfo)
           
 boolean LogMergePolicy.useCompoundFile(SegmentInfos infos, SegmentInfoPerCommit mergedInfo)
           
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 UpgradeIndexMergePolicy.useCompoundFile(SegmentInfos segments, SegmentInfoPerCommit newSegment)
           
 boolean NoMergePolicy.useCompoundFile(SegmentInfos segments, SegmentInfoPerCommit newSegment)
           
 

Method parameters in org.apache.lucene.index with type arguments of type SegmentInfoPerCommit
 void SegmentInfos.addAll(Iterable<SegmentInfoPerCommit> sis)
           
 MergePolicy.MergeSpecification TieredMergePolicy.findForcedMerges(SegmentInfos infos, int maxSegmentCount, Map<SegmentInfoPerCommit,Boolean> segmentsToMerge)
           
 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.
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 UpgradeIndexMergePolicy.findForcedMerges(SegmentInfos segmentInfos, int maxSegmentCount, Map<SegmentInfoPerCommit,Boolean> segmentsToMerge)
           
 MergePolicy.MergeSpecification NoMergePolicy.findForcedMerges(SegmentInfos segmentInfos, int maxSegmentCount, Map<SegmentInfoPerCommit,Boolean> segmentsToMerge)
           
protected  boolean LogMergePolicy.isMerged(SegmentInfos infos, int maxNumSegments, Map<SegmentInfoPerCommit,Boolean> segmentsToMerge)
           
protected  TieredMergePolicy.MergeScore TieredMergePolicy.score(List<SegmentInfoPerCommit> candidate, boolean hitTooLarge, long mergingBytes)
          Expert: scores one merge; subclasses can override.
 String IndexWriter.segString(Iterable<SegmentInfoPerCommit> infos)
           
 

Constructors in org.apache.lucene.index with parameters of type SegmentInfoPerCommit
SegmentReader(SegmentInfoPerCommit si, int termInfosIndexDivisor, IOContext context)
           
 

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



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