org.getopt.luke
Class IndexInfo
java.lang.Object
org.getopt.luke.IndexInfo
public class IndexInfo
- extends java.lang.Object
Constructor Summary |
IndexInfo(org.apache.lucene.index.IndexReader reader,
java.lang.String indexPath)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexInfo
public IndexInfo(org.apache.lucene.index.IndexReader reader,
java.lang.String indexPath)
throws java.lang.Exception
- Throws:
java.lang.Exception
getReader
public org.apache.lucene.index.IndexReader getReader()
- Returns:
- the reader
getDirectory
public org.apache.lucene.store.Directory getDirectory()
getIndexPath
public java.lang.String getIndexPath()
- Returns:
- the indexPath
getTotalFileSize
public long getTotalFileSize()
- Returns:
- the totalFileSize
getNumTerms
public int getNumTerms()
- Returns:
- the numTerms
getIndexFormat
public int getIndexFormat()
- Returns:
- the indexFormat
getFormatDetails
public IndexGate.FormatDetails getFormatDetails()
- Returns:
- the formatDetails
getTopTerms
public TermInfo[] getTopTerms()
- Returns:
- the topTerms
getFieldNames
public java.util.List<java.lang.String> getFieldNames()
- Returns:
- the fieldNames
getLastModified
public java.lang.String getLastModified()
- Returns:
- the lastModified
getVersion
public java.lang.String getVersion()
getDirImpl
public java.lang.String getDirImpl()