@@ -5025,6 +5025,8 @@ public CompletableFuture<UpdatedAtResponse> saveSynonymsAsync(@Nonnull String in
5025
5025
* Sends multiple search requests to one or more indices. This can be useful in these cases: -
5026
5026
* Different indices for different purposes, such as, one index for products, another one for
5027
5027
* marketing content. - Multiple searches to the same index—for example, with different filters.
5028
+ * Use the helper `searchForHits` or `searchForFacets` to get the results in a more convenient
5029
+ * format, if you already know the return type you want.
5028
5030
*
5029
5031
* @param searchMethodParams Muli-search request body. Results are returned in the same order as
5030
5032
* the requests. (required)
@@ -5045,6 +5047,8 @@ public <T> SearchResponses<T> search(
5045
5047
* Sends multiple search requests to one or more indices. This can be useful in these cases: -
5046
5048
* Different indices for different purposes, such as, one index for products, another one for
5047
5049
* marketing content. - Multiple searches to the same index—for example, with different filters.
5050
+ * Use the helper `searchForHits` or `searchForFacets` to get the results in a more convenient
5051
+ * format, if you already know the return type you want.
5048
5052
*
5049
5053
* @param searchMethodParams Muli-search request body. Results are returned in the same order as
5050
5054
* the requests. (required)
@@ -5059,7 +5063,8 @@ public <T> SearchResponses<T> search(@Nonnull SearchMethodParams searchMethodPar
5059
5063
* (asynchronously) Sends multiple search requests to one or more indices. This can be useful in
5060
5064
* these cases: - Different indices for different purposes, such as, one index for products,
5061
5065
* another one for marketing content. - Multiple searches to the same index—for example, with
5062
- * different filters.
5066
+ * different filters. Use the helper `searchForHits` or `searchForFacets` to get the results in a
5067
+ * more convenient format, if you already know the return type you want.
5063
5068
*
5064
5069
* @param searchMethodParams Muli-search request body. Results are returned in the same order as
5065
5070
* the requests. (required)
@@ -5088,7 +5093,8 @@ public <T> CompletableFuture<SearchResponses<T>> searchAsync(
5088
5093
* (asynchronously) Sends multiple search requests to one or more indices. This can be useful in
5089
5094
* these cases: - Different indices for different purposes, such as, one index for products,
5090
5095
* another one for marketing content. - Multiple searches to the same index—for example, with
5091
- * different filters.
5096
+ * different filters. Use the helper `searchForHits` or `searchForFacets` to get the results in a
5097
+ * more convenient format, if you already know the return type you want.
5092
5098
*
5093
5099
* @param searchMethodParams Muli-search request body. Results are returned in the same order as
5094
5100
* the requests. (required)
0 commit comments