SearchResult document (Data API 23.2)
| Property | Type | Constraints | Description | 
|---|---|---|---|
count | 
Integer | The number of returned documents | |
db_start_record_ | 
Integer | minIntegerValue=0 | The zero-based index of the record that we want to start with, used to optimize special handling | 
expand | 
[String] | List of expansions to be applied to each search results. Expands are optional | |
hits | 
[Generic] | The search hits returned as an ordered list | |
next | 
ResultPage | The data that can be used (as parameters on the search request) to retrieve the next result page. | |
previous | 
ResultPage | The data that can be used (as parameters on the search request) to retrieve the previous result page. | |
query | 
Query {BoolQuery, FilteredQuery, MatchAllQuery, NestedQuery, TermQuery, TextQuery} | The query passed into the search | |
select | 
String | The field to be selected. | |
sorts | 
[Sort] | The list of sort clauses configured for the search request. Sort clauses are optional. | |
start | 
Integer | minIntegerValue=0 | The zero-based index of the first search hit to include in the result. | 
total | 
Integer | The number of returned documents | 
X
OCAPI versions 15.x and 16.x will be retired on March 31, 2021. For dates and more information, see the OCAPI versioning and deprecation policy and this Knowledge Article.