Interface SearchMetrics

All Known Implementing Classes:
DefaultSearchMetrics

@Committed
@Public
public interface SearchMetrics
Provides statistics on an FTS query result (number of hits, time taken...).
Since:
2.3.0
Author:
Simon Baslé, Michael Nitschinger
  • Method Summary

    Modifier and Type Method Description
    double maxScore()
    The largest score amongst the hits.
    long took()
    The number of nanoseconds the request took executing on the server side.
    long totalHits()
    The total number of hits (or SearchQueryRow) in the result.
  • Method Details

    • took

      long took()
      The number of nanoseconds the request took executing on the server side.
    • totalHits

      long totalHits()
      The total number of hits (or SearchQueryRow) in the result.
    • maxScore

      double maxScore()
      The largest score amongst the hits.