org.getopt.luke
Class IndexInfo

java.lang.Object
  extended by org.getopt.luke.IndexInfo

public class IndexInfo
extends java.lang.Object


Constructor Summary
IndexInfo(org.apache.lucene.index.IndexReader reader, java.lang.String indexPath)
           
 
Method Summary
 org.apache.lucene.store.Directory getDirectory()
           
 java.lang.String getDirImpl()
           
 java.util.List<java.lang.String> getFieldNames()
           
 IndexGate.FormatDetails getFormatDetails()
           
 int getIndexFormat()
           
 java.lang.String getIndexPath()
           
 java.lang.String getLastModified()
           
 int getNumTerms()
           
 org.apache.lucene.index.IndexReader getReader()
           
 TermInfo[] getTopTerms()
           
 long getTotalFileSize()
           
 java.lang.String getVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexInfo

public IndexInfo(org.apache.lucene.index.IndexReader reader,
                 java.lang.String indexPath)
          throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

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()