@InterfaceStability.Committed @InterfaceAudience.Public public class DefaultSearchMetrics extends Object implements SearchMetrics
SearchMetrics| Constructor and Description |
|---|
DefaultSearchMetrics(long took,
long totalHits,
double maxScore) |
| Modifier and Type | Method and Description |
|---|---|
double |
maxScore()
The largest score amongst the hits.
|
long |
took()
The number of nanoseconds the request took executing on the server side.
|
String |
toString() |
long |
totalHits()
The total number of hits (or
SearchQueryRow) in the result. |
public DefaultSearchMetrics(long took,
long totalHits,
double maxScore)
public long took()
SearchMetricstook in interface SearchMetricspublic long totalHits()
SearchMetricsSearchQueryRow) in the result.totalHits in interface SearchMetricspublic double maxScore()
SearchMetricsmaxScore in interface SearchMetricsCopyright © 2015 Couchbase, Inc.