SearchResponse
- dataType: object · SearchResponseBodyrequired
- productsType: array object[] · Productsrequired
The search results.
- spellcheckType: object · Spellcheckrequired
Spellcheck results. You can use the information in this object to prompt users with the correct spelling.
- startType: integer · Startrequired
Starting offset of the search results.
- totalType: integer · Totalrequired
Total number of search hits.
- boostingType: array · Boosting Rules
_rules Boosting rules that are applied to the search results.
- customType: array object[] · Custom Assets
_assets Custom JSON assets uploaded in Dojo.
Empty object - facetType: object · Facet Counts
_counts Facet counts
- filteringType: string · Filtering Rule
_rule Filter query that is applied to the search results.
- misoType: string · Miso IdFormat: uuid
_id Miso-generated unique Id for each recommendation or search result. Maintaining this Id for subsequent page views is important to Miso's performance as we use
miso_idto track and fine-tune the performance of personalization and search results. When a user clicks on a recommendation or search result, you should pass the associatedmiso_idto the next page view, and associate themiso_idwith the interactions that take place on the page (e.g.product_detail_page_view,add_to_cart,add_to_collection,like, etc.). In this way, Miso will learn which recommendations work and which didn't.Example:
{"misoId": "123e4567-e89b-12d3-a456-426614174000"} - partiallyType: array object[] · Partially Matched Products
_matched _products The search results that only partially match the search query.
- productType: object · Product Existence
_existence Product existence query result
- tookType: integer · Took
Number of milliseconds Miso took to retrieve the results.
- messageType: string · Message
