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
All Methods Instance Methods Abstract Methods 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 (orSearchQueryRow
) in the result.
-
-
-
Method Detail
-
took
long took()
The number of nanoseconds the request took executing on the server side.
-
totalHits
long totalHits()
The total number of hits (orSearchQueryRow
) in the result.
-
maxScore
double maxScore()
The largest score amongst the hits.
-
-