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
Copy file name to clipboardExpand all lines: clients/algoliasearch-client-javascript/packages/client-search/src/searchClient.ts
+26-26Lines changed: 26 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,7 @@ export function createSearchClient(options: CreateClientOptions) {
141
141
/**
142
142
* Add a new API Key with specific permissions/restrictions.
143
143
*
144
-
* @summary Create a new API key.
144
+
* @summary Create an API key.
145
145
* @param apiKey - The apiKey object.
146
146
*/
147
147
addApiKey(
@@ -183,7 +183,7 @@ export function createSearchClient(options: CreateClientOptions) {
183
183
/**
184
184
* Add or replace an object with a given object ID. If the object does not exist, it will be created. If it already exists, it will be replaced.
185
185
*
186
-
* @summary Add or replace an object with a given object ID.
186
+
* @summary Add or replace an object.
187
187
* @param addOrUpdateObject - The addOrUpdateObject object.
188
188
* @param addOrUpdateObject.indexName - The index in which to perform the request.
189
189
* @param addOrUpdateObject.objectID - Unique identifier of an object.
@@ -324,9 +324,9 @@ export function createSearchClient(options: CreateClientOptions) {
324
324
},
325
325
326
326
/**
327
-
* Performs multiple write operations in a single API call.
327
+
* Perform multiple write operations targeting one index, in a single API call.
328
328
*
329
-
* @summaryPerforms multiple write operations in a single API call.
329
+
* @summaryBatch operations to one index.
330
330
* @param batch - The batch object.
331
331
* @param batch.indexName - The index in which to perform the request.
332
332
* @param batch.batchWriteParams - The batchWriteParams object.
@@ -432,7 +432,7 @@ export function createSearchClient(options: CreateClientOptions) {
432
432
/**
433
433
* Send a batch of dictionary entries.
434
434
*
435
-
* @summarySend a batch of dictionary entries.
435
+
* @summaryBatch dictionary entries.
436
436
* @param batchDictionaryEntries - The batchDictionaryEntries object.
437
437
* @param batchDictionaryEntries.dictionaryName - The dictionary to search in.
438
438
* @param batchDictionaryEntries.batchDictionaryEntriesParams - The batchDictionaryEntriesParams object.
@@ -878,7 +878,7 @@ export function createSearchClient(options: CreateClientOptions) {
878
878
/**
879
879
* Delete an existing object.
880
880
*
881
-
* @summary Delete object.
881
+
* @summary Delete an object.
882
882
* @param deleteObject - The deleteObject object.
883
883
* @param deleteObject.indexName - The index in which to perform the request.
884
884
* @param deleteObject.objectID - Unique identifier of an object.
@@ -1136,7 +1136,7 @@ export function createSearchClient(options: CreateClientOptions) {
1136
1136
/**
1137
1137
* List dictionaries supported per language.
1138
1138
*
1139
-
* @summary List dictionaries supported per language.
1139
+
* @summary List available languages.
1140
1140
*/
1141
1141
getDictionaryLanguages(
1142
1142
requestOptions?: RequestOptions
@@ -1188,9 +1188,9 @@ export function createSearchClient(options: CreateClientOptions) {
1188
1188
},
1189
1189
1190
1190
/**
1191
-
* Return the lastest log entries.
1191
+
* Return the latest log entries.
1192
1192
*
1193
-
* @summary Return the lastest log entries.
1193
+
* @summary Return the latest log entries.
1194
1194
* @param getLogs - The getLogs object.
1195
1195
* @param getLogs.offset - First entry to retrieve (zero-based). Log entries are sorted by decreasing date, therefore 0 designates the most recent log entry.
1196
1196
* @param getLogs.length - Maximum number of entries to retrieve. The maximum allowed value is 1000.
@@ -1239,7 +1239,7 @@ export function createSearchClient(options: CreateClientOptions) {
1239
1239
/**
1240
1240
* Retrieve one object from the index.
1241
1241
*
1242
-
* @summary Retrieve one object from the index.
1242
+
* @summary Retrieve an object.
1243
1243
* @param getObject - The getObject object.
1244
1244
* @param getObject.indexName - The index in which to perform the request.
1245
1245
* @param getObject.objectID - Unique identifier of an object.
@@ -1368,9 +1368,9 @@ export function createSearchClient(options: CreateClientOptions) {
1368
1368
},
1369
1369
1370
1370
/**
1371
-
* Retrieve settings of a given indexName.
1371
+
* Retrieve settings of an index.
1372
1372
*
1373
-
* @summary Retrieve settings of a given indexName.
1373
+
* @summary Retrieve settings of an index.
1374
1374
* @param getSettings - The getSettings object.
1375
1375
* @param getSettings.indexName - The index in which to perform the request.
1376
1376
*/
@@ -1479,7 +1479,7 @@ export function createSearchClient(options: CreateClientOptions) {
1479
1479
/**
1480
1480
* Check the current status of a given task.
1481
1481
*
1482
-
* @summary Check the current status of a given task.
1482
+
* @summary Check the status of a task.
1483
1483
* @param getTask - The getTask object.
1484
1484
* @param getTask.indexName - The index in which to perform the request.
1485
1485
* @param getTask.taskID - Unique identifier of an task. Numeric value (up to 64bits).
@@ -1590,7 +1590,7 @@ export function createSearchClient(options: CreateClientOptions) {
1590
1590
/**
1591
1591
* Get the status of your clusters\' migrations or user creations. Creating a large batch of users or migrating your multi-cluster may take quite some time. This method lets you retrieve the status of the migration, so you can know when it\'s done. Upon success, the response is 200 OK. A successful response indicates that the operation has been taken into account, and the userIDs are directly usable.
1592
1592
*
1593
-
* @summaryHas pending mappings.
1593
+
* @summaryGet migration status.
1594
1594
* @param hasPendingMappings - The hasPendingMappings object.
1595
1595
* @param hasPendingMappings.getClusters - Whether to get clusters or not.
1596
1596
*/
@@ -1624,7 +1624,7 @@ export function createSearchClient(options: CreateClientOptions) {
1624
1624
/**
1625
1625
* List API keys, along with their associated rights.
@@ -1749,7 +1749,7 @@ export function createSearchClient(options: CreateClientOptions) {
1749
1749
/**
1750
1750
* Perform multiple write operations, potentially targeting multiple indices, in a single API call.
1751
1751
*
1752
-
* @summaryPerform multiple write operations.
1752
+
* @summaryBatch operations to many indices.
1753
1753
* @param batchParams - The batchParams object.
1754
1754
*/
1755
1755
multipleBatch(
@@ -1783,9 +1783,9 @@ export function createSearchClient(options: CreateClientOptions) {
1783
1783
},
1784
1784
1785
1785
/**
1786
-
* Get search results for the given requests.
1786
+
* Perform a search operation targeting one or many indices.
1787
1787
*
1788
-
* @summaryGet search results for the given requests.
1788
+
* @summarySearch multiple indices.
1789
1789
* @param multipleQueriesParams - The multipleQueriesParams object.
1790
1790
*/
1791
1791
multipleQueries(
@@ -2378,9 +2378,9 @@ export function createSearchClient(options: CreateClientOptions) {
2378
2378
},
2379
2379
2380
2380
/**
2381
-
* Get search results.
2381
+
* Perform a search operation targeting one specific index.
2382
2382
*
2383
-
* @summaryGet search results.
2383
+
* @summarySearch in an index.
2384
2384
* @param search - The search object.
2385
2385
* @param search.indexName - The index in which to perform the request.
2386
2386
* @param search.searchParams - The searchParams object.
@@ -2427,7 +2427,7 @@ export function createSearchClient(options: CreateClientOptions) {
2427
2427
/**
2428
2428
* Search the dictionary entries.
2429
2429
*
2430
-
* @summary Search the dictionary entries.
2430
+
* @summary Search a dictionary entries.
2431
2431
* @param searchDictionaryEntries - The searchDictionaryEntries object.
2432
2432
* @param searchDictionaryEntries.dictionaryName - The dictionary to search in.
2433
2433
* @param searchDictionaryEntries.searchDictionaryEntriesParams - The searchDictionaryEntriesParams object.
@@ -2581,7 +2581,7 @@ export function createSearchClient(options: CreateClientOptions) {
2581
2581
/**
2582
2582
* Search or browse all synonyms, optionally filtering them by type.
2583
2583
*
2584
-
* @summaryGet all synonyms that match a query.
2584
+
* @summarySearch synonyms.
2585
2585
* @param searchSynonyms - The searchSynonyms object.
2586
2586
* @param searchSynonyms.indexName - The index in which to perform the request.
2587
2587
* @param searchSynonyms.query - Search for specific synonyms matching this string.
@@ -2680,9 +2680,9 @@ export function createSearchClient(options: CreateClientOptions) {
2680
2680
},
2681
2681
2682
2682
/**
2683
-
* Set dictionary settings.
2683
+
* Set dictionaries settings.
2684
2684
*
2685
-
* @summary Set dictionary settings.
2685
+
* @summary Set dictionaries settings.
2686
2686
* @param dictionarySettingsParams - The dictionarySettingsParams object.
2687
2687
*/
2688
2688
setDictionarySettings(
@@ -2722,9 +2722,9 @@ export function createSearchClient(options: CreateClientOptions) {
2722
2722
},
2723
2723
2724
2724
/**
2725
-
* Update settings of a given indexName. Only specified settings are overridden; unspecified settings are left unchanged. Specifying null for a setting resets it to its default value.
2725
+
* Update settings of an index. Only specified settings are overridden; unspecified settings are left unchanged. Specifying null for a setting resets it to its default value.
2726
2726
*
2727
-
* @summary Update settings of a given indexName.
2727
+
* @summary Update settings of an index.
2728
2728
* @param setSettings - The setSettings object.
2729
2729
* @param setSettings.indexName - The index in which to perform the request.
2730
2730
* @param setSettings.indexSettings - The indexSettings object.
0 commit comments