@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()
SearchMetrics
took
in interface SearchMetrics
public long totalHits()
SearchMetrics
SearchQueryRow
) in the result.totalHits
in interface SearchMetrics
public double maxScore()
SearchMetrics
maxScore
in interface SearchMetrics
Copyright © 2015 Couchbase, Inc.