Class SearchResultMetadata
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v2.model.SearchResultMetadata
- All Implemented Interfaces:
- com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SearchResultMetadata
extends com.ibm.cloud.sdk.core.service.model.GenericModel
An object containing search result metadata from the Discovery service.
- 
Constructor SummaryConstructors Constructor Description SearchResultMetadata()
- 
Method SummaryModifier and Type Method Description DoublegetConfidence()Gets the confidence.DoublegetScore()Gets the score.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModelequals, hashCode, toString
- 
Constructor Details- 
SearchResultMetadatapublic SearchResultMetadata()
 
- 
- 
Method Details- 
getConfidenceGets the confidence.The confidence score for the given result, as returned by the Discovery service. - Returns:
- the confidence
 
- 
getScoreGets the score.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. - Returns:
- the score
 
 
-