org.apache.lucene.index
Class LuceneSubIndexInfo.LuceneSegmentInfo

java.lang.Object
  extended by org.apache.lucene.index.LuceneSubIndexInfo.LuceneSegmentInfo
Enclosing class:
LuceneSubIndexInfo

public static class LuceneSubIndexInfo.LuceneSegmentInfo
extends Object

A Lucene single segment information


Constructor Summary
LuceneSubIndexInfo.LuceneSegmentInfo(String name, int docCount)
           
 
Method Summary
 int docCount()
          Returns the number of documents within the segment
 String name()
          Returns the name of the segment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneSubIndexInfo.LuceneSegmentInfo

public LuceneSubIndexInfo.LuceneSegmentInfo(String name,
                                            int docCount)
Method Detail

name

public String name()
Returns the name of the segment


docCount

public int docCount()
Returns the number of documents within the segment



Copyright (c) 2004-2009 The Compass Project.