org.apache.lucene.index
Class LuceneSubIndexInfo.LuceneSegmentInfo
java.lang.Object
org.apache.lucene.index.LuceneSubIndexInfo.LuceneSegmentInfo
- Enclosing class:
- LuceneSubIndexInfo
public static class LuceneSubIndexInfo.LuceneSegmentInfo
- extends Object
A Lucene single segment information
|
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 |
LuceneSubIndexInfo.LuceneSegmentInfo
public LuceneSubIndexInfo.LuceneSegmentInfo(String name,
int docCount)
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-2008 The Compass Project.