@algolia/client-search 5.35.0 → 5.36.0
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/README.md +4 -4
- package/dist/browser.d.ts +29 -29
- package/dist/builds/browser.js +2 -2
- package/dist/builds/browser.js.map +1 -1
- package/dist/builds/browser.min.js +1 -1
- package/dist/builds/browser.min.js.map +1 -1
- package/dist/builds/browser.umd.js +1 -1
- package/dist/builds/fetch.js +3 -3
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +3 -3
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +3 -3
- package/dist/builds/node.js.map +1 -1
- package/dist/builds/worker.js +2 -2
- package/dist/builds/worker.js.map +1 -1
- package/dist/fetch.d.ts +29 -29
- package/dist/node.d.cts +29 -29
- package/dist/node.d.ts +29 -29
- package/dist/src/searchClient.cjs +2 -2
- package/dist/src/searchClient.cjs.map +1 -1
- package/dist/src/searchClient.js +7 -4
- package/dist/src/searchClient.js.map +1 -1
- package/dist/worker.d.ts +29 -29
- package/package.json +7 -7
package/dist/node.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ type ApiKey = {
|
|
|
56
56
|
};
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Which indexing operation to perform: - `addObject`: adds records to an index. Equivalent to the \"Add a new record (with auto-generated object ID)\" operation. - `updateObject`: adds or replaces records in an index. Equivalent to the \"Add or replace a record\" operation. - `partialUpdateObject`: adds or updates attributes within records. Equivalent to the \"Add or update attributes\" operation with the `createIfNoExists` parameter set to true. (If a record with the specified `objectID` doesn\'t exist in the specified index, this action creates adds the record to the index) - `partialUpdateObjectNoCreate`: same as `partialUpdateObject`, but with `createIfNoExists` set to false. (A record isn\'t added to the index if its `objectID` doesn\'t exist) - `deleteObject`: delete records from an index. Equivalent to the \"Delete a record\" operation. - `delete`. Delete an index. Equivalent to the \"Delete an index\" operation. - `clear`: delete all records from an index. Equivalent to the \"Delete all records from an index operation\".
|
|
60
60
|
*/
|
|
61
61
|
type Action = 'addObject' | 'updateObject' | 'partialUpdateObject' | 'partialUpdateObjectNoCreate' | 'deleteObject' | 'delete' | 'clear';
|
|
62
62
|
|
|
@@ -1072,7 +1072,7 @@ type TagFilters = Array<TagFilters> | string;
|
|
|
1072
1072
|
|
|
1073
1073
|
type BaseSearchParamsWithoutQuery = {
|
|
1074
1074
|
/**
|
|
1075
|
-
* Keywords to be used instead of the search query to conduct a more broader search
|
|
1075
|
+
* Keywords to be used instead of the search query to conduct a more broader search Using the `similarQuery` parameter changes other settings - `queryType` is set to `prefixNone`. - `removeStopWords` is set to true. - `words` is set as the first ranking criterion. - All remaining words are treated as `optionalWords` Since the `similarQuery` is supposed to do a broad search, they usually return many results. Combine it with `filters` to narrow down the list of results.
|
|
1076
1076
|
*/
|
|
1077
1077
|
similarQuery?: string | undefined;
|
|
1078
1078
|
/**
|
|
@@ -1084,7 +1084,7 @@ type BaseSearchParamsWithoutQuery = {
|
|
|
1084
1084
|
numericFilters?: NumericFilters | undefined;
|
|
1085
1085
|
tagFilters?: TagFilters | undefined;
|
|
1086
1086
|
/**
|
|
1087
|
-
* Whether to sum all filter scores
|
|
1087
|
+
* Whether to sum all filter scores If true, all filter scores are summed. Otherwise, the maximum filter score is kept. For more information, see [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulating-scores-with-sumorfiltersscores).
|
|
1088
1088
|
*/
|
|
1089
1089
|
sumOrFiltersScores?: boolean | undefined;
|
|
1090
1090
|
/**
|
|
@@ -1092,11 +1092,11 @@ type BaseSearchParamsWithoutQuery = {
|
|
|
1092
1092
|
*/
|
|
1093
1093
|
restrictSearchableAttributes?: Array<string> | undefined;
|
|
1094
1094
|
/**
|
|
1095
|
-
* Facets for which to retrieve facet values that match the search criteria and the number of matching facet values
|
|
1095
|
+
* Facets for which to retrieve facet values that match the search criteria and the number of matching facet values To retrieve all facets, use the wildcard character `*`. For more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts).
|
|
1096
1096
|
*/
|
|
1097
1097
|
facets?: Array<string> | undefined;
|
|
1098
1098
|
/**
|
|
1099
|
-
* Whether faceting should be applied after deduplication with `distinct
|
|
1099
|
+
* Whether faceting should be applied after deduplication with `distinct` This leads to accurate facet counts when using faceting in combination with `distinct`. It\'s usually better to use `afterDistinct` modifiers in the `attributesForFaceting` setting, as `facetingAfterDistinct` only computes correct facet counts if all records have the same facet values for the `attributeForDistinct`.
|
|
1100
1100
|
*/
|
|
1101
1101
|
facetingAfterDistinct?: boolean | undefined;
|
|
1102
1102
|
/**
|
|
@@ -1131,15 +1131,15 @@ type BaseSearchParamsWithoutQuery = {
|
|
|
1131
1131
|
*/
|
|
1132
1132
|
insidePolygon?: Array<Array<number>> | undefined;
|
|
1133
1133
|
/**
|
|
1134
|
-
* ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches)
|
|
1134
|
+
* ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches) - Sets `removeStopWords` and `ignorePlurals` to the list of provided languages. - Sets `removeWordsIfNoResults` to `allOptional`. - Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.
|
|
1135
1135
|
*/
|
|
1136
1136
|
naturalLanguages?: Array<SupportedLanguage> | undefined;
|
|
1137
1137
|
/**
|
|
1138
|
-
* Assigns a rule context to the search query
|
|
1138
|
+
* Assigns a rule context to the search query [Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#whats-a-context) are strings that you can use to trigger matching rules.
|
|
1139
1139
|
*/
|
|
1140
1140
|
ruleContexts?: Array<string> | undefined;
|
|
1141
1141
|
/**
|
|
1142
|
-
* Impact that Personalization should have on this search
|
|
1142
|
+
* Impact that Personalization should have on this search The higher this value is, the more Personalization determines the ranking compared to other factors. For more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).
|
|
1143
1143
|
*/
|
|
1144
1144
|
personalizationImpact?: number | undefined;
|
|
1145
1145
|
/**
|
|
@@ -1155,7 +1155,7 @@ type BaseSearchParamsWithoutQuery = {
|
|
|
1155
1155
|
*/
|
|
1156
1156
|
synonyms?: boolean | undefined;
|
|
1157
1157
|
/**
|
|
1158
|
-
* Whether to include a `queryID` attribute in the response
|
|
1158
|
+
* Whether to include a `queryID` attribute in the response The query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/guides/sending-events/getting-started/).
|
|
1159
1159
|
*/
|
|
1160
1160
|
clickAnalytics?: boolean | undefined;
|
|
1161
1161
|
/**
|
|
@@ -1249,7 +1249,7 @@ type TypoTolerance = boolean | TypoToleranceEnum;
|
|
|
1249
1249
|
|
|
1250
1250
|
type IndexSettingsAsSearchParams = {
|
|
1251
1251
|
/**
|
|
1252
|
-
* Attributes to include in the API response
|
|
1252
|
+
* Attributes to include in the API response To reduce the size of your response, you can retrieve only some of the attributes. Attribute names are case-sensitive - `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings. - To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`. - The `objectID` attribute is always included.
|
|
1253
1253
|
*/
|
|
1254
1254
|
attributesToRetrieve?: Array<string> | undefined;
|
|
1255
1255
|
/**
|
|
@@ -1257,15 +1257,15 @@ type IndexSettingsAsSearchParams = {
|
|
|
1257
1257
|
*/
|
|
1258
1258
|
ranking?: Array<string> | undefined;
|
|
1259
1259
|
/**
|
|
1260
|
-
* Relevancy threshold below which less relevant results aren\'t included in the results
|
|
1260
|
+
* Relevancy threshold below which less relevant results aren\'t included in the results You can only set `relevancyStrictness` on [virtual replica indices](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/replicas/#what-are-virtual-replicas). Use this setting to strike a balance between the relevance and number of returned results.
|
|
1261
1261
|
*/
|
|
1262
1262
|
relevancyStrictness?: number | undefined;
|
|
1263
1263
|
/**
|
|
1264
|
-
* Attributes to highlight
|
|
1264
|
+
* Attributes to highlight By default, all searchable attributes are highlighted. Use `*` to highlight all attributes or use an empty array `[]` to turn off highlighting. Attribute names are case-sensitive With highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`. You can use this to visually highlight matching parts of a search query in your UI For more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js/).
|
|
1265
1265
|
*/
|
|
1266
1266
|
attributesToHighlight?: Array<string> | undefined;
|
|
1267
1267
|
/**
|
|
1268
|
-
* Attributes for which to enable snippets. Attribute names are case-sensitive
|
|
1268
|
+
* Attributes for which to enable snippets. Attribute names are case-sensitive Snippets provide additional context to matched words. If you enable snippets, they include 10 words, including the matched word. The matched word will also be wrapped by HTML tags for highlighting. You can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`, where `NUMBER` is the number of words to be extracted.
|
|
1269
1269
|
*/
|
|
1270
1270
|
attributesToSnippet?: Array<string> | undefined;
|
|
1271
1271
|
/**
|
|
@@ -1298,21 +1298,21 @@ type IndexSettingsAsSearchParams = {
|
|
|
1298
1298
|
minWordSizefor2Typos?: number | undefined;
|
|
1299
1299
|
typoTolerance?: TypoTolerance | undefined;
|
|
1300
1300
|
/**
|
|
1301
|
-
* Whether to allow typos on numbers in the search query
|
|
1301
|
+
* Whether to allow typos on numbers in the search query Turn off this setting to reduce the number of irrelevant matches when searching in large sets of similar numbers.
|
|
1302
1302
|
*/
|
|
1303
1303
|
allowTyposOnNumericTokens?: boolean | undefined;
|
|
1304
1304
|
/**
|
|
1305
|
-
* Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/). Attribute names are case-sensitive
|
|
1305
|
+
* Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/). Attribute names are case-sensitive Returning only exact matches can help when - [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes/). - Reducing the number of matches when you have too many. This can happen with attributes that are long blocks of text, such as product descriptions Consider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.
|
|
1306
1306
|
*/
|
|
1307
1307
|
disableTypoToleranceOnAttributes?: Array<string> | undefined;
|
|
1308
1308
|
ignorePlurals?: IgnorePlurals | undefined;
|
|
1309
1309
|
removeStopWords?: RemoveStopWords | undefined;
|
|
1310
1310
|
/**
|
|
1311
|
-
* Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries
|
|
1311
|
+
* Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries This setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings. This setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages. To support this, you must place the CJK language **first** **You should always specify a query language.** If you don\'t specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/), or the languages you specified with the `ignorePlurals` or `removeStopWords` parameters. This can lead to unexpected search results. For more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/).
|
|
1312
1312
|
*/
|
|
1313
1313
|
queryLanguages?: Array<SupportedLanguage> | undefined;
|
|
1314
1314
|
/**
|
|
1315
|
-
* Whether to split compound words in the query into their building blocks
|
|
1315
|
+
* Whether to split compound words in the query into their building blocks For more information, see [Word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#splitting-compound-words). Word segmentation is supported for these languages: German, Dutch, Finnish, Swedish, and Norwegian. Decompounding doesn\'t work for words with [non-spacing mark Unicode characters](https://www.charactercodes.net/category/non-spacing_mark). For example, `Gartenstühle` won\'t be decompounded if the `ü` consists of `u` (U+0075) and `◌̈` (U+0308).
|
|
1316
1316
|
*/
|
|
1317
1317
|
decompoundQuery?: boolean | undefined;
|
|
1318
1318
|
/**
|
|
@@ -1328,34 +1328,34 @@ type IndexSettingsAsSearchParams = {
|
|
|
1328
1328
|
mode?: Mode | undefined;
|
|
1329
1329
|
semanticSearch?: SemanticSearch | undefined;
|
|
1330
1330
|
/**
|
|
1331
|
-
* Whether to support phrase matching and excluding words from search queries
|
|
1331
|
+
* Whether to support phrase matching and excluding words from search queries Use the `advancedSyntaxFeatures` parameter to control which feature is supported.
|
|
1332
1332
|
*/
|
|
1333
1333
|
advancedSyntax?: boolean | undefined;
|
|
1334
1334
|
optionalWords?: OptionalWords | null | undefined;
|
|
1335
1335
|
/**
|
|
1336
|
-
* Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes). Attribute names are case-sensitive
|
|
1336
|
+
* Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes). Attribute names are case-sensitive This can be useful for attributes with long values, where the likelihood of an exact match is high, such as product descriptions. Turning off the Exact ranking criterion for these attributes favors exact matching on other attributes. This reduces the impact of individual attributes with a lot of content on ranking.
|
|
1337
1337
|
*/
|
|
1338
1338
|
disableExactOnAttributes?: Array<string> | undefined;
|
|
1339
1339
|
exactOnSingleWordQuery?: ExactOnSingleWordQuery | undefined;
|
|
1340
1340
|
/**
|
|
1341
|
-
* Determine which plurals and synonyms should be considered an exact matches
|
|
1341
|
+
* Determine which plurals and synonyms should be considered an exact matches By default, Algolia treats singular and plural forms of a word, and single-word synonyms, as [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact) matches when searching. For example - \"swimsuit\" and \"swimsuits\" are treated the same - \"swimsuit\" and \"swimwear\" are treated the same (if they are [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)) - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches - `singleWordSynonym`. Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches - `multiWordsSynonym`. Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.
|
|
1342
1342
|
*/
|
|
1343
1343
|
alternativesAsExact?: Array<AlternativesAsExact> | undefined;
|
|
1344
1344
|
/**
|
|
1345
|
-
* Advanced search syntax features you want to support
|
|
1345
|
+
* Advanced search syntax features you want to support - `exactPhrase`. Phrases in quotes must match exactly. For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\" - `excludeWords`. Query words prefixed with a `-` must not occur in a record. For example, `search -engine` matches records that contain \"search\" but not \"engine\" This setting only has an effect if `advancedSyntax` is true.
|
|
1346
1346
|
*/
|
|
1347
1347
|
advancedSyntaxFeatures?: Array<AdvancedSyntaxFeatures> | undefined;
|
|
1348
1348
|
distinct?: Distinct | undefined;
|
|
1349
1349
|
/**
|
|
1350
|
-
* Whether to replace a highlighted word with the matched synonym
|
|
1350
|
+
* Whether to replace a highlighted word with the matched synonym By default, the original words are highlighted even if a synonym matches. For example, with `home` as a synonym for `house` and a search for `home`, records matching either \"home\" or \"house\" are included in the search results, and either \"home\" or \"house\" are highlighted With `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records, but all occurrences of \"house\" are replaced by \"home\" in the highlighted response.
|
|
1351
1351
|
*/
|
|
1352
1352
|
replaceSynonymsInHighlight?: boolean | undefined;
|
|
1353
1353
|
/**
|
|
1354
|
-
* Minimum proximity score for two matching words
|
|
1354
|
+
* Minimum proximity score for two matching words This adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity) by equally scoring matches that are farther apart For example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.
|
|
1355
1355
|
*/
|
|
1356
1356
|
minProximity?: number | undefined;
|
|
1357
1357
|
/**
|
|
1358
|
-
* Properties to include in the API response of search and browse requests
|
|
1358
|
+
* Properties to include in the API response of search and browse requests By default, all response properties are included. To reduce the response size, you can select which properties should be included An empty list may lead to an empty API response (except properties you can\'t exclude) You can\'t exclude these properties: `message`, `warning`, `cursor`, `abTestVariantID`, or any property added by setting `getRankingInfo` to true Your search depends on the `hits` field. If you omit this field, searches won\'t return any results. Your UI might also depend on other properties, for example, for pagination. Before restricting the response size, check the impact on your search experience.
|
|
1359
1359
|
*/
|
|
1360
1360
|
responseFields?: Array<string> | undefined;
|
|
1361
1361
|
/**
|
|
@@ -1363,16 +1363,16 @@ type IndexSettingsAsSearchParams = {
|
|
|
1363
1363
|
*/
|
|
1364
1364
|
maxValuesPerFacet?: number | undefined;
|
|
1365
1365
|
/**
|
|
1366
|
-
* Order in which to retrieve facet values
|
|
1366
|
+
* Order in which to retrieve facet values - `count`. Facet values are retrieved by decreasing count. The count is the number of matching records containing this facet value - `alpha`. Retrieve facet values alphabetically This setting doesn\'t influence how facet values are displayed in your UI (see `renderingContent`). For more information, see [facet value display](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/facet-display/js/).
|
|
1367
1367
|
*/
|
|
1368
1368
|
sortFacetValuesBy?: string | undefined;
|
|
1369
1369
|
/**
|
|
1370
|
-
* Whether the best matching attribute should be determined by minimum proximity
|
|
1370
|
+
* Whether the best matching attribute should be determined by minimum proximity This setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting. If true, the best matching attribute is selected based on the minimum proximity of multiple matches. Otherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.
|
|
1371
1371
|
*/
|
|
1372
1372
|
attributeCriteriaComputedByMinProximity?: boolean | undefined;
|
|
1373
1373
|
renderingContent?: RenderingContent | undefined;
|
|
1374
1374
|
/**
|
|
1375
|
-
* Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/)
|
|
1375
|
+
* Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/) This setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.
|
|
1376
1376
|
*/
|
|
1377
1377
|
enableReRanking?: boolean | undefined;
|
|
1378
1378
|
reRankingApplyFilter?: ReRankingApplyFilter | null | undefined;
|
|
@@ -3051,7 +3051,7 @@ type AccountCopyIndexOptions = {
|
|
|
3051
3051
|
batchSize?: number | undefined;
|
|
3052
3052
|
};
|
|
3053
3053
|
|
|
3054
|
-
declare const apiClientVersion = "5.
|
|
3054
|
+
declare const apiClientVersion = "5.36.0";
|
|
3055
3055
|
declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
|
|
3056
3056
|
transporter: _algolia_client_common.Transporter;
|
|
3057
3057
|
/**
|
|
@@ -3210,7 +3210,7 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
|
|
|
3210
3210
|
partialUpdateObjects({ indexName, objects, createIfNotExists, waitForTasks, batchSize }: PartialUpdateObjectsOptions, requestOptions?: RequestOptions | undefined): Promise<BatchResponse[]>;
|
|
3211
3211
|
/**
|
|
3212
3212
|
* Helper: Replaces all objects (records) in the given `index_name` with the given `objects`. A temporary index is created during this process in order to backup your data.
|
|
3213
|
-
* See https://api-clients-automation.netlify.app/docs/
|
|
3213
|
+
* See https://api-clients-automation.netlify.app/docs/custom-helpers/#replaceallobjects for implementation details.
|
|
3214
3214
|
*
|
|
3215
3215
|
* @summary Helper: Replaces all objects (records) in the given `index_name` with the given `objects`. A temporary index is created during this process in order to backup your data.
|
|
3216
3216
|
* @param replaceAllObjects - The `replaceAllObjects` object.
|
|
@@ -25,7 +25,7 @@ __export(searchClient_exports, {
|
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(searchClient_exports);
|
|
27
27
|
var import_client_common = require("@algolia/client-common");
|
|
28
|
-
var apiClientVersion = "5.
|
|
28
|
+
var apiClientVersion = "5.36.0";
|
|
29
29
|
function getDefaultHosts(appId) {
|
|
30
30
|
return [
|
|
31
31
|
{
|
|
@@ -445,7 +445,7 @@ function createSearchClient({
|
|
|
445
445
|
},
|
|
446
446
|
/**
|
|
447
447
|
* Helper: Replaces all objects (records) in the given `index_name` with the given `objects`. A temporary index is created during this process in order to backup your data.
|
|
448
|
-
* See https://api-clients-automation.netlify.app/docs/
|
|
448
|
+
* See https://api-clients-automation.netlify.app/docs/custom-helpers/#replaceallobjects for implementation details.
|
|
449
449
|
*
|
|
450
450
|
* @summary Helper: Replaces all objects (records) in the given `index_name` with the given `objects`. A temporary index is created during this process in order to backup your data.
|
|
451
451
|
* @param replaceAllObjects - The `replaceAllObjects` object.
|