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