Skip to content

Commit 29368bd

Browse files
algolia-botSamuel Bodinmillotpshortcuts
committed
chore: generated code for commit 8990cac. [skip ci]
Co-authored-by: Samuel Bodin <[email protected]> Co-authored-by: Pierre Millot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 8990cac commit 29368bd

File tree

4 files changed

+80
-77
lines changed

4 files changed

+80
-77
lines changed

clients/algoliasearch-client-javascript/packages/algoliasearch-lite/src/algoliasearchLiteClient.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ export function createAlgoliasearchLiteClient(options: CreateClientOptions) {
8787
return {
8888
addUserAgent,
8989
/**
90-
* Get search results for the given requests.
90+
* Perform a search operation targeting one or many indices.
9191
*
92-
* @summary Get search results for the given requests.
92+
* @summary Search multiple indices.
9393
* @param multipleQueriesParams - The multipleQueriesParams object.
9494
*/
9595
multipleQueries(
@@ -166,9 +166,9 @@ export function createAlgoliasearchLiteClient(options: CreateClientOptions) {
166166
},
167167

168168
/**
169-
* Get search results.
169+
* Perform a search operation targeting one specific index.
170170
*
171-
* @summary Get search results.
171+
* @summary Search in an index.
172172
* @param search - The search object.
173173
* @param search.indexName - The index in which to perform the request.
174174
* @param search.searchParams - The searchParams object.

clients/algoliasearch-client-javascript/packages/client-search/src/searchClient.ts

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export function createSearchClient(options: CreateClientOptions) {
141141
/**
142142
* Add a new API Key with specific permissions/restrictions.
143143
*
144-
* @summary Create a new API key.
144+
* @summary Create an API key.
145145
* @param apiKey - The apiKey object.
146146
*/
147147
addApiKey(
@@ -183,7 +183,7 @@ export function createSearchClient(options: CreateClientOptions) {
183183
/**
184184
* 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.
185185
*
186-
* @summary Add or replace an object with a given object ID.
186+
* @summary Add or replace an object.
187187
* @param addOrUpdateObject - The addOrUpdateObject object.
188188
* @param addOrUpdateObject.indexName - The index in which to perform the request.
189189
* @param addOrUpdateObject.objectID - Unique identifier of an object.
@@ -324,9 +324,9 @@ export function createSearchClient(options: CreateClientOptions) {
324324
},
325325

326326
/**
327-
* Performs multiple write operations in a single API call.
327+
* Perform multiple write operations targeting one index, in a single API call.
328328
*
329-
* @summary Performs multiple write operations in a single API call.
329+
* @summary Batch operations to one index.
330330
* @param batch - The batch object.
331331
* @param batch.indexName - The index in which to perform the request.
332332
* @param batch.batchWriteParams - The batchWriteParams object.
@@ -432,7 +432,7 @@ export function createSearchClient(options: CreateClientOptions) {
432432
/**
433433
* Send a batch of dictionary entries.
434434
*
435-
* @summary Send a batch of dictionary entries.
435+
* @summary Batch dictionary entries.
436436
* @param batchDictionaryEntries - The batchDictionaryEntries object.
437437
* @param batchDictionaryEntries.dictionaryName - The dictionary to search in.
438438
* @param batchDictionaryEntries.batchDictionaryEntriesParams - The batchDictionaryEntriesParams object.
@@ -878,7 +878,7 @@ export function createSearchClient(options: CreateClientOptions) {
878878
/**
879879
* Delete an existing object.
880880
*
881-
* @summary Delete object.
881+
* @summary Delete an object.
882882
* @param deleteObject - The deleteObject object.
883883
* @param deleteObject.indexName - The index in which to perform the request.
884884
* @param deleteObject.objectID - Unique identifier of an object.
@@ -1136,7 +1136,7 @@ export function createSearchClient(options: CreateClientOptions) {
11361136
/**
11371137
* List dictionaries supported per language.
11381138
*
1139-
* @summary List dictionaries supported per language.
1139+
* @summary List available languages.
11401140
*/
11411141
getDictionaryLanguages(
11421142
requestOptions?: RequestOptions
@@ -1188,9 +1188,9 @@ export function createSearchClient(options: CreateClientOptions) {
11881188
},
11891189

11901190
/**
1191-
* Return the lastest log entries.
1191+
* Return the latest log entries.
11921192
*
1193-
* @summary Return the lastest log entries.
1193+
* @summary Return the latest log entries.
11941194
* @param getLogs - The getLogs object.
11951195
* @param getLogs.offset - First entry to retrieve (zero-based). Log entries are sorted by decreasing date, therefore 0 designates the most recent log entry.
11961196
* @param getLogs.length - Maximum number of entries to retrieve. The maximum allowed value is 1000.
@@ -1239,7 +1239,7 @@ export function createSearchClient(options: CreateClientOptions) {
12391239
/**
12401240
* Retrieve one object from the index.
12411241
*
1242-
* @summary Retrieve one object from the index.
1242+
* @summary Retrieve an object.
12431243
* @param getObject - The getObject object.
12441244
* @param getObject.indexName - The index in which to perform the request.
12451245
* @param getObject.objectID - Unique identifier of an object.
@@ -1368,9 +1368,9 @@ export function createSearchClient(options: CreateClientOptions) {
13681368
},
13691369

13701370
/**
1371-
* Retrieve settings of a given indexName.
1371+
* Retrieve settings of an index.
13721372
*
1373-
* @summary Retrieve settings of a given indexName.
1373+
* @summary Retrieve settings of an index.
13741374
* @param getSettings - The getSettings object.
13751375
* @param getSettings.indexName - The index in which to perform the request.
13761376
*/
@@ -1479,7 +1479,7 @@ export function createSearchClient(options: CreateClientOptions) {
14791479
/**
14801480
* Check the current status of a given task.
14811481
*
1482-
* @summary Check the current status of a given task.
1482+
* @summary Check the status of a task.
14831483
* @param getTask - The getTask object.
14841484
* @param getTask.indexName - The index in which to perform the request.
14851485
* @param getTask.taskID - Unique identifier of an task. Numeric value (up to 64bits).
@@ -1590,7 +1590,7 @@ export function createSearchClient(options: CreateClientOptions) {
15901590
/**
15911591
* 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.
15921592
*
1593-
* @summary Has pending mappings.
1593+
* @summary Get migration status.
15941594
* @param hasPendingMappings - The hasPendingMappings object.
15951595
* @param hasPendingMappings.getClusters - Whether to get clusters or not.
15961596
*/
@@ -1624,7 +1624,7 @@ export function createSearchClient(options: CreateClientOptions) {
16241624
/**
16251625
* List API keys, along with their associated rights.
16261626
*
1627-
* @summary Get the full list of API Keys.
1627+
* @summary List API Keys.
16281628
*/
16291629
listApiKeys(requestOptions?: RequestOptions): Promise<ListApiKeysResponse> {
16301630
const requestPath = '/1/keys';
@@ -1749,7 +1749,7 @@ export function createSearchClient(options: CreateClientOptions) {
17491749
/**
17501750
* Perform multiple write operations, potentially targeting multiple indices, in a single API call.
17511751
*
1752-
* @summary Perform multiple write operations.
1752+
* @summary Batch operations to many indices.
17531753
* @param batchParams - The batchParams object.
17541754
*/
17551755
multipleBatch(
@@ -1783,9 +1783,9 @@ export function createSearchClient(options: CreateClientOptions) {
17831783
},
17841784

17851785
/**
1786-
* Get search results for the given requests.
1786+
* Perform a search operation targeting one or many indices.
17871787
*
1788-
* @summary Get search results for the given requests.
1788+
* @summary Search multiple indices.
17891789
* @param multipleQueriesParams - The multipleQueriesParams object.
17901790
*/
17911791
multipleQueries(
@@ -2378,9 +2378,9 @@ export function createSearchClient(options: CreateClientOptions) {
23782378
},
23792379

23802380
/**
2381-
* Get search results.
2381+
* Perform a search operation targeting one specific index.
23822382
*
2383-
* @summary Get search results.
2383+
* @summary Search in an index.
23842384
* @param search - The search object.
23852385
* @param search.indexName - The index in which to perform the request.
23862386
* @param search.searchParams - The searchParams object.
@@ -2427,7 +2427,7 @@ export function createSearchClient(options: CreateClientOptions) {
24272427
/**
24282428
* Search the dictionary entries.
24292429
*
2430-
* @summary Search the dictionary entries.
2430+
* @summary Search a dictionary entries.
24312431
* @param searchDictionaryEntries - The searchDictionaryEntries object.
24322432
* @param searchDictionaryEntries.dictionaryName - The dictionary to search in.
24332433
* @param searchDictionaryEntries.searchDictionaryEntriesParams - The searchDictionaryEntriesParams object.
@@ -2581,7 +2581,7 @@ export function createSearchClient(options: CreateClientOptions) {
25812581
/**
25822582
* Search or browse all synonyms, optionally filtering them by type.
25832583
*
2584-
* @summary Get all synonyms that match a query.
2584+
* @summary Search synonyms.
25852585
* @param searchSynonyms - The searchSynonyms object.
25862586
* @param searchSynonyms.indexName - The index in which to perform the request.
25872587
* @param searchSynonyms.query - Search for specific synonyms matching this string.
@@ -2680,9 +2680,9 @@ export function createSearchClient(options: CreateClientOptions) {
26802680
},
26812681

26822682
/**
2683-
* Set dictionary settings.
2683+
* Set dictionaries settings.
26842684
*
2685-
* @summary Set dictionary settings.
2685+
* @summary Set dictionaries settings.
26862686
* @param dictionarySettingsParams - The dictionarySettingsParams object.
26872687
*/
26882688
setDictionarySettings(
@@ -2722,9 +2722,9 @@ export function createSearchClient(options: CreateClientOptions) {
27222722
},
27232723

27242724
/**
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.
27262726
*
2727-
* @summary Update settings of a given indexName.
2727+
* @summary Update settings of an index.
27282728
* @param setSettings - The setSettings object.
27292729
* @param setSettings.indexName - The index in which to perform the request.
27302730
* @param setSettings.indexSettings - The indexSettings object.

specs/bundled/algoliasearch-lite.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1984,7 +1984,7 @@ x-tagGroups:
19841984
- Rules
19851985
- Synonyms
19861986
- Dictionnaries
1987-
- name: Other
1987+
- name: Others
19881988
tags:
19891989
- Api Keys
19901990
- Clusters
@@ -2030,8 +2030,8 @@ paths:
20302030
tags:
20312031
- algoliasearch-lite
20322032
operationId: search
2033-
description: Get search results.
2034-
summary: Get search results.
2033+
summary: Search in an index.
2034+
description: Perform a search operation targeting one specific index.
20352035
parameters:
20362036
- $ref: '#/components/parameters/IndexName'
20372037
requestBody:
@@ -2060,8 +2060,8 @@ paths:
20602060
tags:
20612061
- algoliasearch-lite
20622062
operationId: multipleQueries
2063-
description: Get search results for the given requests.
2064-
summary: Get search results for the given requests.
2063+
summary: Search multiple indices.
2064+
description: Perform a search operation targeting one or many indices.
20652065
requestBody:
20662066
required: true
20672067
description: The `multipleQueries` requests and strategy.
@@ -2124,7 +2124,7 @@ paths:
21242124
tags:
21252125
- algoliasearch-lite
21262126
operationId: searchForFacetValues
2127-
summary: Search for values of a given facet
2127+
summary: Search for values of a given facet.
21282128
description: >-
21292129
Search for values of a given facet, optionally restricting the returned
21302130
values to those contained in objects matching other search criteria.

0 commit comments

Comments
 (0)