Package com.ibm.cloud.cloudant.v1.model
Class SearchResultRow
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.SearchResultRow
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SearchResultRow
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Schema for a row of the result of a query search operation.
-
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
getDoc
Gets the doc. Schema for a document.- Returns:
- the doc
-
getFields
Gets the fields. Schema for the fields returned by a query search operation, a map of field name to value.- Returns:
- the fields
-
getHighlights
Gets the highlights. Returns the context in which a search term was mentioned so that you can display more emphasized results to a user.- Returns:
- the highlights
-
getId
Gets the id. Schema for a document ID.- Returns:
- the id
-