public class SearchResultMetadata
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.lang.Double |
confidence |
protected java.lang.Double |
score |
Constructor and Description |
---|
SearchResultMetadata() |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getConfidence()
Gets the confidence.
|
java.lang.Double |
getScore()
Gets the score.
|
protected java.lang.Double confidence
protected java.lang.Double score
public java.lang.Double getConfidence()
The confidence score for the given result. For more information about how the confidence is calculated, see the Discovery service [documentation](../discovery#query-your-collection).
public java.lang.Double getScore()
An unbounded measure of the relevance of a particular result, dependent on the query and matching document. A higher score indicates a greater match to the query parameters.