The response
Everything a results page needs, in one response
Hits, facet counts, slider ranges, the corrected query, popular items for a search that finds nothing and a redirect come back together. One call draws the whole page.
Response{
"found": 3,
"hits": [
{ "title": "Court Sneakers", "price": 79.99, "_score": 5.34 },
{ "title": "Trail Sneakers", "price": 64.99, "_score": 4.91 }
],
"facets": { "brand": [["Stride", 2], ["Acme", 1]] },
"facetStats": { "price": { "min": 49.99, "max": 79.99 } },
"correctedQuery": "sneakers",
"fallback": null,
"redirect": null
}
