Skip to content

Commit 39e65cf

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 147d940 commit 39e65cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/algolia/api/search_client.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2603,7 +2603,7 @@ def save_synonyms(
26032603
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Search::UpdatedAtResponse")
26042604
end
26052605

2606-
# 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.
2606+
# 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.
26072607
#
26082608
# Required API Key ACLs:
26092609
# - search
@@ -2635,7 +2635,7 @@ def search_with_http_info(search_method_params, request_options = {})
26352635
@api_client.call_api(:POST, path, new_options)
26362636
end
26372637

2638-
# 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.
2638+
# 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.
26392639
#
26402640
# Required API Key ACLs:
26412641
# - search

0 commit comments

Comments
 (0)