ContentSearchResult document (Shop API 23.2)

Document representing a content search result.

Property Type Constraints Description
count Integer   The number of returned documents.
hits [Content]   The sorted array of search hits. Can be empty.
next String   The URL of the next result page.
previous String   The URL of the previous result page.
query String   The query String that was searched for.
refinements [ContentSearchRefinement]   The sorted array of search refinements. Can be empty.
selected_refinements Map[String, String]   Map of selected refinement attribute id/value(s) pairs. The sorting order is the same like in request URL.
start Integer minIntegerValue=0 The zero-based index of the first search hit to include in the result.
total Integer   The total number of 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.