You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -125,6 +127,39 @@ export function createLiteClient({
125
127
transporter.algoliaAgent.add({ segment, version });
126
128
},
127
129
130
+
/**
131
+
* Helper: calls the `search` method but with certainty that we will only request Algolia records (hits) and not facets.
132
+
* Disclaimer: We don't assert that the parameters you pass to this method only contains `hits` requests to prevent impacting search performances, this helper is purely for typing purposes.
133
+
*
134
+
* @summary Search multiple indices for `hits`.
135
+
* @param searchMethodParams - Query requests and strategies. Results will be received in the same order as the queries.
136
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
* Helper: calls the `search` method but with certainty that we will only request Algolia facets and not records (hits).
149
+
* Disclaimer: We don't assert that the parameters you pass to this method only contains `facets` requests to prevent impacting search performances, this helper is purely for typing purposes.
150
+
*
151
+
* @summary Search multiple indices for `facets`.
152
+
* @param searchMethodParams - Query requests and strategies. Results will be received in the same order as the queries.
153
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
Copy file name to clipboardExpand all lines: packages/client-search/src/searchClient.ts
+34-34Lines changed: 34 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -505,40 +505,6 @@ export function createSearchClient({
505
505
});
506
506
},
507
507
508
-
/**
509
-
* Helper: calls the `search` method but with certainty that we will only request Algolia records (hits) and not facets.
510
-
* Disclaimer: We don't assert that the parameters you pass to this method only contains `hits` requests to prevent impacting search performances, this helper is purely for typing purposes.
511
-
*
512
-
* @summary Search multiple indices for `hits`.
513
-
* @param searchMethodParams - Query requests and strategies. Results will be received in the same order as the queries.
514
-
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
* Helper: calls the `search` method but with certainty that we will only request Algolia facets and not records (hits).
527
-
* Disclaimer: We don't assert that the parameters you pass to this method only contains `facets` requests to prevent impacting search performances, this helper is purely for typing purposes.
528
-
*
529
-
* @summary Search multiple indices for `facets`.
530
-
* @param searchMethodParams - Query requests and strategies. Results will be received in the same order as the queries.
531
-
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
* Helper: calls the `search` method but with certainty that we will only request Algolia records (hits) and not facets.
697
+
* Disclaimer: We don't assert that the parameters you pass to this method only contains `hits` requests to prevent impacting search performances, this helper is purely for typing purposes.
698
+
*
699
+
* @summary Search multiple indices for `hits`.
700
+
* @param searchMethodParams - Query requests and strategies. Results will be received in the same order as the queries.
701
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
* Helper: calls the `search` method but with certainty that we will only request Algolia facets and not records (hits).
714
+
* Disclaimer: We don't assert that the parameters you pass to this method only contains `facets` requests to prevent impacting search performances, this helper is purely for typing purposes.
715
+
*
716
+
* @summary Search multiple indices for `facets`.
717
+
* @param searchMethodParams - Query requests and strategies. Results will be received in the same order as the queries.
718
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
0 commit comments