gate.creole.ir.lucene
Class LuceneIndexStatistics
java.lang.Object
gate.creole.ir.lucene.LuceneIndexStatistics
- All Implemented Interfaces:
- IndexStatistics
public class LuceneIndexStatistics
- extends Object
- implements IndexStatistics
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneIndexStatistics
public LuceneIndexStatistics()
getTermCount
public Long getTermCount()
- Specified by:
getTermCount
in interface IndexStatistics
getUniqueTermCount
public Long getUniqueTermCount()
- Specified by:
getUniqueTermCount
in interface IndexStatistics
getExhaustivity
public Long getExhaustivity(Long docID,
String fieldName)
- Specified by:
getExhaustivity
in interface IndexStatistics
getSpecificity
public Long getSpecificity(String term)
- Specified by:
getSpecificity
in interface IndexStatistics
getTermFrequency
public HashMap getTermFrequency(Long docID,
String fieldName)
- Specified by:
getTermFrequency
in interface IndexStatistics