Java org.apache.lucene.benchmark.quality QualityStats fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.benchmark.quality QualityStats fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.benchmark.quality QualityStats.

The text is from its open source code.

Constructor

QualityStats(double maxGoodPoints, long searchTime)
Construct a QualityStats object with anticipated maximal number of relevant hits.

Method

voidaddResult(int n, boolean isRelevant, long docNameExtractTime)
Add a (possibly relevant) doc.
QualityStatsaverage(QualityStats[] stats)
Create a QualityStats object that is the average of the input QualityStats objects.
doublegetAvp()
Return the average precision at recall points.
doublegetMRR()
Returns the Mean reciprocal rank over the queries or RR for a single query.
doublegetRecall()
Return the recall: |{relevant hits found}| / |{relevant hits existing}|.
longgetSearchTime()
Returns the search time in milliseconds for the measured query.
voidlog(String title, int paddLines, PrintWriter logger, String prefix)
Log information on this QualityStats object.