gate.creole.ir.lucene
Class LuceneIndexStatistics

java.lang.Object
  extended by gate.creole.ir.lucene.LuceneIndexStatistics
All Implemented Interfaces:
IndexStatistics

public class LuceneIndexStatistics
extends Object
implements IndexStatistics


Constructor Summary
LuceneIndexStatistics()
           
 
Method Summary
 Long getExhaustivity(Long docID, String fieldName)
           
 Long getSpecificity(String term)
           
 Long getTermCount()
           
 Map getTermFrequency(Long docID, String fieldName)
           
 Long getUniqueTermCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneIndexStatistics

public LuceneIndexStatistics()
Method Detail

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 Map getTermFrequency(Long docID,
                            String fieldName)
Specified by:
getTermFrequency in interface IndexStatistics