Example usage for Java org.apache.lucene.benchmark.quality QualityStats fields, constructors, methods, implement or subclass
The text is from its open source code.
QualityStats(double maxGoodPoints, long searchTime) Construct a QualityStats object with anticipated maximal number of relevant hits. |
void | addResult(int n, boolean isRelevant, long docNameExtractTime) Add a (possibly relevant) doc. |
QualityStats | average(QualityStats[] stats) Create a QualityStats object that is the average of the input QualityStats objects. |
double | getAvp() Return the average precision at recall points. |
double | getMRR() Returns the Mean reciprocal rank over the queries or RR for a single query. |
double | getRecall() Return the recall: |{relevant hits found}| / |{relevant hits existing}|. |
long | getSearchTime() Returns the search time in milliseconds for the measured query. |
void | log(String title, int paddLines, PrintWriter logger, String prefix) Log information on this QualityStats object. |