@algolia/client-search 5.51.0 → 5.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,7 +11,7 @@ import {
11
11
  getAlgoliaAgent,
12
12
  shuffle
13
13
  } from "@algolia/client-common";
14
- var apiClientVersion = "5.51.0";
14
+ var apiClientVersion = "5.52.1";
15
15
  function getDefaultHosts(appId) {
16
16
  return [
17
17
  {
@@ -2006,11 +2006,11 @@ function createSearchClient({
2006
2006
  return transporter.request(request, requestOptions);
2007
2007
  },
2008
2008
  /**
2009
- * Sends multiple search requests to one or more indices. This can be useful in these cases: - Different indices for different purposes, such as, one index for products, another one for marketing content. - Multiple searches to the same index—for example, with different filters. Use the helper `searchForHits` or `searchForFacets` to get the results in a more convenient format, if you already know the return type you want.
2009
+ * Runs multiple search queries against one or more indices in a single API request. Use cases include: - Searching different indices, such as products and marketing content. - Run multiple queries on the same index with different parameters or filters. If you know the expected result type, use the `searchForHits` or `searchForFacets` helper to simplify the response format.
2010
2010
  *
2011
2011
  * Required API Key ACLs:
2012
2012
  * - search
2013
- * @param searchMethodParams - Muli-search request body. Results are returned in the same order as the requests.
2013
+ * @param searchMethodParams - Multi-query search request body. Results are returned in the same order as the requests.
2014
2014
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
2015
2015
  */
2016
2016
  search(searchMethodParams, requestOptions) {