Skip to content

Commit 15fe5ea

Browse files
authored
Merge branch 'main' into chore/search-e2e-highlight-snippets
2 parents 714741f + 3f3e462 commit 15fe5ea

File tree

49 files changed

+236
-117
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+236
-117
lines changed

clients/algoliasearch-client-csharp/algoliasearch/Clients/SearchClient.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,7 +1208,7 @@ public interface ISearchClient
12081208
AddApiKeyResponse RestoreApiKey(string key, RequestOptions options = null, CancellationToken cancellationToken = default);
12091209

12101210
/// <summary>
1211-
/// Adds a record to an index or replace it. - If the record doesn't have an object ID, a new record with an auto-generated object ID is added to your index. - If a record with the specified object ID exists, the existing record is replaced. - If a record with the specified object ID doesn't exist, a new record is added to your index. - If you add a record to an index that doesn't exist yet, a new index is created. To update _some_ attributes of a record, use the [`partial` operation](#tag/Records/operation/partial). To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
1211+
/// Adds a record to an index or replace it. - If the record doesn't have an object ID, a new record with an auto-generated object ID is added to your index. - If a record with the specified object ID exists, the existing record is replaced. - If a record with the specified object ID doesn't exist, a new record is added to your index. - If you add a record to an index that doesn't exist yet, a new index is created. To update _some_ attributes of a record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject). To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
12121212
/// </summary>
12131213
/// <param name="indexName">Name of the index on which to perform the operation.</param>
12141214
/// <param name="body">The record, a schemaless object with attributes that are useful in the context of search and discovery.</param>
@@ -1221,7 +1221,7 @@ public interface ISearchClient
12211221
Task<SaveObjectResponse> SaveObjectAsync(string indexName, object body, RequestOptions options = null, CancellationToken cancellationToken = default);
12221222

12231223
/// <summary>
1224-
/// Adds a record to an index or replace it. - If the record doesn't have an object ID, a new record with an auto-generated object ID is added to your index. - If a record with the specified object ID exists, the existing record is replaced. - If a record with the specified object ID doesn't exist, a new record is added to your index. - If you add a record to an index that doesn't exist yet, a new index is created. To update _some_ attributes of a record, use the [`partial` operation](#tag/Records/operation/partial). To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch). (Synchronous version)
1224+
/// Adds a record to an index or replace it. - If the record doesn't have an object ID, a new record with an auto-generated object ID is added to your index. - If a record with the specified object ID exists, the existing record is replaced. - If a record with the specified object ID doesn't exist, a new record is added to your index. - If you add a record to an index that doesn't exist yet, a new index is created. To update _some_ attributes of a record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject). To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch). (Synchronous version)
12251225
/// </summary>
12261226
/// <param name="indexName">Name of the index on which to perform the operation.</param>
12271227
/// <param name="body">The record, a schemaless object with attributes that are useful in the context of search and discovery.</param>
@@ -3809,7 +3809,7 @@ public AddApiKeyResponse RestoreApiKey(string key, RequestOptions options = null
38093809

38103810

38113811
/// <summary>
3812-
/// Adds a record to an index or replace it. - If the record doesn't have an object ID, a new record with an auto-generated object ID is added to your index. - If a record with the specified object ID exists, the existing record is replaced. - If a record with the specified object ID doesn't exist, a new record is added to your index. - If you add a record to an index that doesn't exist yet, a new index is created. To update _some_ attributes of a record, use the [`partial` operation](#tag/Records/operation/partial). To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
3812+
/// Adds a record to an index or replace it. - If the record doesn't have an object ID, a new record with an auto-generated object ID is added to your index. - If a record with the specified object ID exists, the existing record is replaced. - If a record with the specified object ID doesn't exist, a new record is added to your index. - If you add a record to an index that doesn't exist yet, a new index is created. To update _some_ attributes of a record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject). To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
38133813
/// </summary>
38143814
///
38153815
/// Required API Key ACLs:
@@ -3842,7 +3842,7 @@ public async Task<SaveObjectResponse> SaveObjectAsync(string indexName, object b
38423842

38433843

38443844
/// <summary>
3845-
/// Adds a record to an index or replace it. - If the record doesn't have an object ID, a new record with an auto-generated object ID is added to your index. - If a record with the specified object ID exists, the existing record is replaced. - If a record with the specified object ID doesn't exist, a new record is added to your index. - If you add a record to an index that doesn't exist yet, a new index is created. To update _some_ attributes of a record, use the [`partial` operation](#tag/Records/operation/partial). To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch). (Synchronous version)
3845+
/// Adds a record to an index or replace it. - If the record doesn't have an object ID, a new record with an auto-generated object ID is added to your index. - If a record with the specified object ID exists, the existing record is replaced. - If a record with the specified object ID doesn't exist, a new record is added to your index. - If you add a record to an index that doesn't exist yet, a new index is created. To update _some_ attributes of a record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject). To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch). (Synchronous version)
38463846
/// </summary>
38473847
///
38483848
/// Required API Key ACLs:

clients/algoliasearch-client-dart/packages/client_search/lib/src/api/search_client.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1698,7 +1698,7 @@ final class SearchClient implements ApiClient {
16981698
);
16991699
}
17001700

1701-
/// Adds a record to an index or replace it. - If the record doesn't have an object ID, a new record with an auto-generated object ID is added to your index. - If a record with the specified object ID exists, the existing record is replaced. - If a record with the specified object ID doesn't exist, a new record is added to your index. - If you add a record to an index that doesn't exist yet, a new index is created. To update _some_ attributes of a record, use the [`partial` operation](#tag/Records/operation/partial). To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
1701+
/// Adds a record to an index or replace it. - If the record doesn't have an object ID, a new record with an auto-generated object ID is added to your index. - If a record with the specified object ID exists, the existing record is replaced. - If a record with the specified object ID doesn't exist, a new record is added to your index. - If you add a record to an index that doesn't exist yet, a new index is created. To update _some_ attributes of a record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject). To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
17021702
///
17031703
/// Required API Key ACLs:
17041704
/// - addObject

clients/algoliasearch-client-go/algolia/search/api_search.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/api/SearchClient.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3915,8 +3915,8 @@ public CompletableFuture<AddApiKeyResponse> restoreApiKeyAsync(@Nonnull String k
39153915
* specified object ID exists, the existing record is replaced. - If a record with the specified
39163916
* object ID doesn't exist, a new record is added to your index. - If you add a record to an index
39173917
* that doesn't exist yet, a new index is created. To update _some_ attributes of a record, use
3918-
* the [`partial` operation](#tag/Records/operation/partial). To add, update, or replace multiple
3919-
* records, use the [`batch` operation](#tag/Records/operation/batch).
3918+
* the [`partial` operation](#tag/Records/operation/partialUpdateObject). To add, update, or
3919+
* replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
39203920
*
39213921
* @param indexName Name of the index on which to perform the operation. (required)
39223922
* @param body The record, a schemaless object with attributes that are useful in the context of
@@ -3936,8 +3936,8 @@ public SaveObjectResponse saveObject(@Nonnull String indexName, @Nonnull Object
39363936
* specified object ID exists, the existing record is replaced. - If a record with the specified
39373937
* object ID doesn't exist, a new record is added to your index. - If you add a record to an index
39383938
* that doesn't exist yet, a new index is created. To update _some_ attributes of a record, use
3939-
* the [`partial` operation](#tag/Records/operation/partial). To add, update, or replace multiple
3940-
* records, use the [`batch` operation](#tag/Records/operation/batch).
3939+
* the [`partial` operation](#tag/Records/operation/partialUpdateObject). To add, update, or
3940+
* replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
39413941
*
39423942
* @param indexName Name of the index on which to perform the operation. (required)
39433943
* @param body The record, a schemaless object with attributes that are useful in the context of
@@ -3954,8 +3954,8 @@ public SaveObjectResponse saveObject(@Nonnull String indexName, @Nonnull Object
39543954
* with the specified object ID exists, the existing record is replaced. - If a record with the
39553955
* specified object ID doesn't exist, a new record is added to your index. - If you add a record
39563956
* to an index that doesn't exist yet, a new index is created. To update _some_ attributes of a
3957-
* record, use the [`partial` operation](#tag/Records/operation/partial). To add, update, or
3958-
* replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
3957+
* record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject). To add,
3958+
* update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
39593959
*
39603960
* @param indexName Name of the index on which to perform the operation. (required)
39613961
* @param body The record, a schemaless object with attributes that are useful in the context of
@@ -3983,8 +3983,8 @@ public CompletableFuture<SaveObjectResponse> saveObjectAsync(
39833983
* with the specified object ID exists, the existing record is replaced. - If a record with the
39843984
* specified object ID doesn't exist, a new record is added to your index. - If you add a record
39853985
* to an index that doesn't exist yet, a new index is created. To update _some_ attributes of a
3986-
* record, use the [`partial` operation](#tag/Records/operation/partial). To add, update, or
3987-
* replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
3986+
* record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject). To add,
3987+
* update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
39883988
*
39893989
* @param indexName Name of the index on which to perform the operation. (required)
39903990
* @param body The record, a schemaless object with attributes that are useful in the context of

clients/algoliasearch-client-javascript/packages/algoliasearch/package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@
1616
"import": "./dist/algoliasearch.esm.node.js",
1717
"module": "./dist/algoliasearch.esm.node.js",
1818
"require": "./dist/algoliasearch.cjs",
19-
"default": "./dist/algoliasearch.cjs"
19+
"default": "./dist/algoliasearch.cjs",
20+
"types": "./dist/algoliasearch/builds/node.d.ts"
2021
},
2122
"default": {
2223
"umd": "./dist/algoliasearch.umd.js",
2324
"module": "./dist/algoliasearch.esm.browser.js",
2425
"import": "./dist/algoliasearch.esm.browser.js",
25-
"default": "./dist/algoliasearch.umd.js"
26+
"default": "./dist/algoliasearch.umd.js",
27+
"types": "./dist/algoliasearch/builds/browser.d.ts"
2628
}
2729
},
2830
"./lite": {
@@ -31,13 +33,15 @@
3133
"import": "./dist/lite/lite.esm.node.js",
3234
"module": "./dist/lite/lite.esm.node.js",
3335
"require": "./dist/lite/lite.cjs",
34-
"default": "./dist/lite/lite.cjs"
36+
"default": "./dist/lite/lite.cjs",
37+
"types": "./dist/lite/builds/node.d.ts"
3538
},
3639
"default": {
3740
"umd": "./dist/lite/lite.umd.js",
3841
"module": "./dist/lite/lite.esm.browser.js",
3942
"import": "./dist/lite/lite.esm.browser.js",
40-
"default": "./dist/lite/lite.umd.js"
43+
"default": "./dist/lite/lite.umd.js",
44+
"types": "./dist/lite/builds/browser.d.ts"
4145
}
4246
}
4347
},

clients/algoliasearch-client-javascript/packages/client-abtesting/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@
1515
"import": "./dist/client-abtesting.esm.node.js",
1616
"module": "./dist/client-abtesting.esm.node.js",
1717
"require": "./dist/client-abtesting.cjs",
18-
"default": "./dist/client-abtesting.cjs"
18+
"default": "./dist/client-abtesting.cjs",
19+
"types": "./dist/builds/node.d.ts"
1920
},
2021
"default": {
2122
"umd": "./dist/client-abtesting.umd.js",
2223
"module": "./dist/client-abtesting.esm.browser.js",
2324
"import": "./dist/client-abtesting.esm.browser.js",
24-
"default": "./dist/client-abtesting.umd.js"
25+
"default": "./dist/client-abtesting.umd.js",
26+
"types": "./dist/builds/browser.d.ts"
2527
}
2628
},
2729
"./src/*": "./src/*.ts",

clients/algoliasearch-client-javascript/packages/client-analytics/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@
1515
"import": "./dist/client-analytics.esm.node.js",
1616
"module": "./dist/client-analytics.esm.node.js",
1717
"require": "./dist/client-analytics.cjs",
18-
"default": "./dist/client-analytics.cjs"
18+
"default": "./dist/client-analytics.cjs",
19+
"types": "./dist/builds/node.d.ts"
1920
},
2021
"default": {
2122
"umd": "./dist/client-analytics.umd.js",
2223
"module": "./dist/client-analytics.esm.browser.js",
2324
"import": "./dist/client-analytics.esm.browser.js",
24-
"default": "./dist/client-analytics.umd.js"
25+
"default": "./dist/client-analytics.umd.js",
26+
"types": "./dist/builds/browser.d.ts"
2527
}
2628
},
2729
"./src/*": "./src/*.ts",

clients/algoliasearch-client-javascript/packages/client-insights/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@
1515
"import": "./dist/client-insights.esm.node.js",
1616
"module": "./dist/client-insights.esm.node.js",
1717
"require": "./dist/client-insights.cjs",
18-
"default": "./dist/client-insights.cjs"
18+
"default": "./dist/client-insights.cjs",
19+
"types": "./dist/builds/node.d.ts"
1920
},
2021
"default": {
2122
"umd": "./dist/client-insights.umd.js",
2223
"module": "./dist/client-insights.esm.browser.js",
2324
"import": "./dist/client-insights.esm.browser.js",
24-
"default": "./dist/client-insights.umd.js"
25+
"default": "./dist/client-insights.umd.js",
26+
"types": "./dist/builds/browser.d.ts"
2527
}
2628
},
2729
"./src/*": "./src/*.ts",

clients/algoliasearch-client-javascript/packages/client-personalization/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@
1515
"import": "./dist/client-personalization.esm.node.js",
1616
"module": "./dist/client-personalization.esm.node.js",
1717
"require": "./dist/client-personalization.cjs",
18-
"default": "./dist/client-personalization.cjs"
18+
"default": "./dist/client-personalization.cjs",
19+
"types": "./dist/builds/node.d.ts"
1920
},
2021
"default": {
2122
"umd": "./dist/client-personalization.umd.js",
2223
"module": "./dist/client-personalization.esm.browser.js",
2324
"import": "./dist/client-personalization.esm.browser.js",
24-
"default": "./dist/client-personalization.umd.js"
25+
"default": "./dist/client-personalization.umd.js",
26+
"types": "./dist/builds/browser.d.ts"
2527
}
2628
},
2729
"./src/*": "./src/*.ts",

clients/algoliasearch-client-javascript/packages/client-query-suggestions/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@
1515
"import": "./dist/client-query-suggestions.esm.node.js",
1616
"module": "./dist/client-query-suggestions.esm.node.js",
1717
"require": "./dist/client-query-suggestions.cjs",
18-
"default": "./dist/client-query-suggestions.cjs"
18+
"default": "./dist/client-query-suggestions.cjs",
19+
"types": "./dist/builds/node.d.ts"
1920
},
2021
"default": {
2122
"umd": "./dist/client-query-suggestions.umd.js",
2223
"module": "./dist/client-query-suggestions.esm.browser.js",
2324
"import": "./dist/client-query-suggestions.esm.browser.js",
24-
"default": "./dist/client-query-suggestions.umd.js"
25+
"default": "./dist/client-query-suggestions.umd.js",
26+
"types": "./dist/builds/browser.d.ts"
2527
}
2628
},
2729
"./src/*": "./src/*.ts",

clients/algoliasearch-client-javascript/packages/client-search/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@
1515
"import": "./dist/client-search.esm.node.js",
1616
"module": "./dist/client-search.esm.node.js",
1717
"require": "./dist/client-search.cjs",
18-
"default": "./dist/client-search.cjs"
18+
"default": "./dist/client-search.cjs",
19+
"types": "./dist/builds/node.d.ts"
1920
},
2021
"default": {
2122
"umd": "./dist/client-search.umd.js",
2223
"module": "./dist/client-search.esm.browser.js",
2324
"import": "./dist/client-search.esm.browser.js",
24-
"default": "./dist/client-search.umd.js"
25+
"default": "./dist/client-search.umd.js",
26+
"types": "./dist/builds/browser.d.ts"
2527
}
2628
},
2729
"./src/*": "./src/*.ts",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2581,7 +2581,7 @@ export function createSearchClient({
25812581
},
25822582

25832583
/**
2584-
* Adds a record to an index or replace it. - If the record doesn\'t have an object ID, a new record with an auto-generated object ID is added to your index. - If a record with the specified object ID exists, the existing record is replaced. - If a record with the specified object ID doesn\'t exist, a new record is added to your index. - If you add a record to an index that doesn\'t exist yet, a new index is created. To update _some_ attributes of a record, use the [`partial` operation](#tag/Records/operation/partial). To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
2584+
* Adds a record to an index or replace it. - If the record doesn\'t have an object ID, a new record with an auto-generated object ID is added to your index. - If a record with the specified object ID exists, the existing record is replaced. - If a record with the specified object ID doesn\'t exist, a new record is added to your index. - If you add a record to an index that doesn\'t exist yet, a new index is created. To update _some_ attributes of a record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject). To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
25852585
*
25862586
* Required API Key ACLs:
25872587
* - addObject.

0 commit comments

Comments
 (0)