Interface SearchMetrics

  • All Known Implementing Classes:
    DefaultSearchMetrics

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

      • took

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

        long totalRows()
        The total number of rows (or SearchQueryRow) in the result.
      • maxScore

        double maxScore()
        The largest score amongst the rows.