Skip to content

Commit 8853f69

Browse files
algolia-botmillotp
andcommitted
fix(clients): correctly deserialize SearchResult (generated)
algolia/api-clients-automation#4756 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent d4eebcc commit 8853f69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/algoliasearch/lite/src/liteClient.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ export function createLiteClient({
247247
},
248248

249249
/**
250-
* 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.
250+
* 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.
251251
*
252252
* Required API Key ACLs:
253253
* - search

packages/client-search/src/searchClient.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2561,7 +2561,7 @@ export function createSearchClient({
25612561
},
25622562

25632563
/**
2564-
* 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.
2564+
* 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.
25652565
*
25662566
* Required API Key ACLs:
25672567
* - search

0 commit comments

Comments
 (0)