Hi, is there a way to dry a bit the search respons...
# community-help
g
Hi, is there a way to dry a bit the search response. I would like to get only properties relevant for building a facet search. I would like to stripe out the "hits" property and to keep only the "facet_counts" property in the response. Here is the current parameters I'm sending to the multi_search api
Copy code
{
  "searches": [
    {
      "query_by": "name, canton",
      "collection": "warehouses",
      "q": "",
      "facet_by": "canton",
      "filter_by": ""
    }
  ]
}
k
Yes, set
per_page=0
g
Ah perfect 🙂 thanks !
k
yw