@algolia/client-search 4.12.1 → 4.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client-search.d.ts +11 -6
- package/package.json +4 -4
package/dist/client-search.d.ts
CHANGED
|
@@ -393,13 +393,13 @@ export declare type DeleteByFiltersOptions = {
|
|
|
393
393
|
/**
|
|
394
394
|
* Filter on numeric attributes.
|
|
395
395
|
*/
|
|
396
|
-
readonly numericFilters?: string | readonly string[] | ReadonlyArray<readonly string[]>;
|
|
396
|
+
readonly numericFilters?: string | readonly string[] | ReadonlyArray<readonly string[] | string>;
|
|
397
397
|
/**
|
|
398
398
|
* Filter hits by tags. tagFilters is a different way of filtering, which relies on the _tags
|
|
399
399
|
* attribute. It uses a simpler syntax than filters. You can use it when you want to do
|
|
400
400
|
* simple filtering based on tags.
|
|
401
401
|
*/
|
|
402
|
-
readonly tagFilters?: string | readonly string[] | ReadonlyArray<readonly string[]>;
|
|
402
|
+
readonly tagFilters?: string | readonly string[] | ReadonlyArray<readonly string[] | string>;
|
|
403
403
|
/**
|
|
404
404
|
* Search for entries around a central geolocation, enabling a geo search within a circular area.
|
|
405
405
|
*/
|
|
@@ -1099,6 +1099,7 @@ export declare type RankingInfo = {
|
|
|
1099
1099
|
readonly rankingScore: number;
|
|
1100
1100
|
readonly score: number;
|
|
1101
1101
|
};
|
|
1102
|
+
readonly promotedByReRanking?: boolean;
|
|
1102
1103
|
};
|
|
1103
1104
|
|
|
1104
1105
|
export declare const removeUserID: (base: SearchClient) => (userID: string, requestOptions?: RequestOptions | undefined) => Readonly<Promise<RemoveUserIDResponse>>;
|
|
@@ -1407,13 +1408,13 @@ export declare type SearchOptions = {
|
|
|
1407
1408
|
/**
|
|
1408
1409
|
* Filter on numeric attributes.
|
|
1409
1410
|
*/
|
|
1410
|
-
readonly numericFilters?: string | readonly string[] | ReadonlyArray<readonly string[]>;
|
|
1411
|
+
readonly numericFilters?: string | readonly string[] | ReadonlyArray<readonly string[] | string>;
|
|
1411
1412
|
/**
|
|
1412
1413
|
* Filter hits by tags. tagFilters is a different way of filtering, which relies on the _tags
|
|
1413
1414
|
* attribute. It uses a simpler syntax than filters. You can use it when you want to do
|
|
1414
1415
|
* simple filtering based on tags.
|
|
1415
1416
|
*/
|
|
1416
|
-
readonly tagFilters?: string | readonly string[] | ReadonlyArray<readonly string[]>;
|
|
1417
|
+
readonly tagFilters?: string | readonly string[] | ReadonlyArray<readonly string[] | string>;
|
|
1417
1418
|
/**
|
|
1418
1419
|
* Determines how to calculate the total score for filtering.
|
|
1419
1420
|
*/
|
|
@@ -1682,7 +1683,11 @@ export declare type SearchOptions = {
|
|
|
1682
1683
|
/**
|
|
1683
1684
|
* When Dynamic Re-Ranking is enabled, only records that match these filters will be impacted by Dynamic Re-Ranking.
|
|
1684
1685
|
*/
|
|
1685
|
-
readonly reRankingApplyFilter?: string | readonly string[] | ReadonlyArray<readonly string[] | string
|
|
1686
|
+
readonly reRankingApplyFilter?: string | readonly string[] | ReadonlyArray<readonly string[] | string> | null;
|
|
1687
|
+
/**
|
|
1688
|
+
* Sets the languages to be used by language-specific settings and functionalities such as ignorePlurals, removeStopWords, and CJK word-detection.
|
|
1689
|
+
*/
|
|
1690
|
+
readonly queryLanguages?: readonly string[];
|
|
1686
1691
|
};
|
|
1687
1692
|
|
|
1688
1693
|
export declare type SearchResponse<TObject = {}> = {
|
|
@@ -2307,7 +2312,7 @@ export declare type Settings = {
|
|
|
2307
2312
|
/**
|
|
2308
2313
|
* When Dynamic Re-Ranking is enabled, only records that match these filters will be impacted by Dynamic Re-Ranking.
|
|
2309
2314
|
*/
|
|
2310
|
-
readonly reRankingApplyFilter?: string | readonly string[] | ReadonlyArray<readonly string[] | string
|
|
2315
|
+
readonly reRankingApplyFilter?: string | readonly string[] | ReadonlyArray<readonly string[] | string> | null;
|
|
2311
2316
|
};
|
|
2312
2317
|
|
|
2313
2318
|
declare type SharedMultipleQueriesQuery = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@algolia/client-search",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.13.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@algolia/client-common": "4.
|
|
20
|
-
"@algolia/requester-common": "4.
|
|
21
|
-
"@algolia/transporter": "4.
|
|
19
|
+
"@algolia/client-common": "4.13.1",
|
|
20
|
+
"@algolia/requester-common": "4.13.1",
|
|
21
|
+
"@algolia/transporter": "4.13.1"
|
|
22
22
|
}
|
|
23
23
|
}
|