Skip to content

Commit 77d149e

Browse files
algolia-botmillotp
andcommitted
fix(clients): forward requestOptions to searchForHits (#5473) (generated) [skip ci]
Co-authored-by: Pierre Millot <[email protected]>
1 parent ac940e4 commit 77d149e

File tree

2 files changed

+2
-2
lines changed
  • clients

2 files changed

+2
-2
lines changed

clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/api/SearchClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6674,7 +6674,7 @@ public <T> CompletableFuture<List<SearchResponse<T>>> searchForHitsAsync(
66746674
) {
66756675
final List<SearchQuery> searchQueries = new ArrayList<>(requests); // Upcast the list
66766676
final SearchMethodParams params = new SearchMethodParams().setRequests(searchQueries).setStrategy(strategy);
6677-
return searchAsync(params, innerType).thenApply(searchResponses ->
6677+
return searchAsync(params, innerType, requestOptions).thenApply(searchResponses ->
66786678
searchResponses
66796679
.getResults()
66806680
.stream()

clients/algoliasearch-client-javascript/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<h4 align="center">The perfect starting point to integrate <a href="https://algolia.com" target="_blank">Algolia</a> within your JavaScript project</h4>
77

88
<p align="center">
9-
<a href="https://npmjs.com/package/algoliasearch"><img src="https://img.shields.io/npm/v/algoliasearch.svg?style=flat-square" alt="NPM version"></img></a>
9+
<a href="https://npmjs.org/package/algoliasearch"><img src="https://img.shields.io/npm/v/algoliasearch.svg?style=flat-square" alt="NPM version"></img></a>
1010
<a href="http://npm-stat.com/charts.html?package=algoliasearch"><img src="https://img.shields.io/npm/dm/algoliasearch.svg?style=flat-square" alt="NPM downloads"></a>
1111
<a href="https://www.jsdelivr.com/package/npm/algoliasearch"><img src="https://data.jsdelivr.com/v1/package/npm/algoliasearch/badge" alt="jsDelivr Downloads"></img></a>
1212
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-green.svg?style=flat-square" alt="License"></a>

0 commit comments

Comments
 (0)