Package com.ibm.cloud.cloudant.v1.model
Class SearchResult
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.SearchResult
- All Implemented Interfaces:
 ObjectModel
Schema for the result of a query search operation.
- 
Method Details
- 
getTotalRows
Gets the totalRows. Total number of rows in the index matching the search query. The limit may truncate the number of matches returned.- Returns:
 - the totalRows
 
 - 
getBookmark
Gets the bookmark. Opaque bookmark token used when paginating results.- Returns:
 - the bookmark
 
 - 
getBy
Gets the by. Grouped search matches.- Returns:
 - the by
 
 - 
getCounts
Gets the counts. The counts facet syntax returns the number of query results for each unique value of each named field.- Returns:
 - the counts
 
 - 
getRanges
Gets the ranges. The range facet syntax reuses the standard Lucene syntax for ranges to return counts of results that fit into each specified category.- Returns:
 - the ranges
 
 - 
getRows
Gets the rows. Array of row objects.- Returns:
 - the rows
 
 - 
getGroups
Gets the groups. Array of grouped search matches.- Returns:
 - the groups
 
 
 -