@azure/search-documents 11.3.0-beta.7 → 11.3.0-beta.8
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 +71 -55
- package/dist/index.js +168 -175
- package/dist/index.js.map +1 -1
- package/dist-esm/src/constants.js +1 -1
- package/dist-esm/src/constants.js.map +1 -1
- package/dist-esm/src/generated/data/index.js +0 -1
- package/dist-esm/src/generated/data/index.js.map +1 -1
- package/dist-esm/src/generated/data/models/index.js.map +1 -1
- package/dist-esm/src/generated/data/operations/documents.js.map +1 -1
- package/dist-esm/src/generated/data/searchClient.js +31 -3
- package/dist-esm/src/generated/data/searchClient.js.map +1 -1
- package/dist-esm/src/generated/service/index.js +0 -1
- package/dist-esm/src/generated/service/index.js.map +1 -1
- package/dist-esm/src/generated/service/models/index.js.map +1 -1
- package/dist-esm/src/generated/service/operations/aliases.js.map +1 -1
- package/dist-esm/src/generated/service/operations/dataSources.js.map +1 -1
- package/dist-esm/src/generated/service/operations/indexers.js.map +1 -1
- package/dist-esm/src/generated/service/operations/indexes.js.map +1 -1
- package/dist-esm/src/generated/service/operations/skillsets.js.map +1 -1
- package/dist-esm/src/generated/service/operations/synonymMaps.js.map +1 -1
- package/dist-esm/src/generated/service/searchServiceClient.js +27 -3
- package/dist-esm/src/generated/service/searchServiceClient.js.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/searchAudience.js +21 -0
- package/dist-esm/src/searchAudience.js.map +1 -0
- package/dist-esm/src/searchClient.js +27 -24
- package/dist-esm/src/searchClient.js.map +1 -1
- package/dist-esm/src/searchIndexClient.js +45 -42
- package/dist-esm/src/searchIndexClient.js.map +1 -1
- package/dist-esm/src/searchIndexerClient.js +51 -48
- package/dist-esm/src/searchIndexerClient.js.map +1 -1
- package/dist-esm/src/searchIndexingBufferedSender.js +10 -11
- package/dist-esm/src/searchIndexingBufferedSender.js.map +1 -1
- package/dist-esm/src/serviceModels.js.map +1 -1
- package/dist-esm/src/serviceUtils.js +0 -1
- package/dist-esm/src/serviceUtils.js.map +1 -1
- package/dist-esm/src/tracing.js +5 -4
- package/dist-esm/src/tracing.js.map +1 -1
- package/package.json +6 -5
- package/types/search-documents.d.ts +44 -8
- package/CHANGELOG.md +0 -205
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/search-documents",
|
|
3
|
-
"version": "11.3.0-beta.
|
|
3
|
+
"version": "11.3.0-beta.8",
|
|
4
4
|
"description": "Azure client library to use Cognitive Search for node.js and browser.",
|
|
5
5
|
"sdk-type": "client",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -77,8 +77,9 @@
|
|
|
77
77
|
"@azure/core-client": "^1.3.0",
|
|
78
78
|
"@azure/core-auth": "^1.3.0",
|
|
79
79
|
"@azure/core-paging": "^1.1.1",
|
|
80
|
-
"@azure/core-tracing": "1.0.0
|
|
80
|
+
"@azure/core-tracing": "^1.0.0",
|
|
81
81
|
"@azure/core-rest-pipeline": "^1.3.0",
|
|
82
|
+
"@azure/core-http-compat": "^1.2.0",
|
|
82
83
|
"@azure/logger": "^1.0.0",
|
|
83
84
|
"tslib": "^2.2.0",
|
|
84
85
|
"events": "^3.0.0"
|
|
@@ -88,7 +89,7 @@
|
|
|
88
89
|
"@azure/dev-tool": "^1.0.0",
|
|
89
90
|
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
|
|
90
91
|
"@azure-tools/test-recorder": "^2.0.0",
|
|
91
|
-
"@microsoft/api-extractor": "
|
|
92
|
+
"@microsoft/api-extractor": "7.18.11",
|
|
92
93
|
"@types/chai": "^4.1.6",
|
|
93
94
|
"@types/mocha": "^7.0.2",
|
|
94
95
|
"@types/node": "^12.0.0",
|
|
@@ -96,7 +97,7 @@
|
|
|
96
97
|
"chai": "^4.2.0",
|
|
97
98
|
"cross-env": "^7.0.2",
|
|
98
99
|
"dotenv": "^8.2.0",
|
|
99
|
-
"eslint": "^
|
|
100
|
+
"eslint": "^8.0.0",
|
|
100
101
|
"inherits": "^2.0.3",
|
|
101
102
|
"karma": "^6.2.0",
|
|
102
103
|
"karma-chrome-launcher": "^3.0.0",
|
|
@@ -118,7 +119,7 @@
|
|
|
118
119
|
"rimraf": "^3.0.0",
|
|
119
120
|
"sinon": "^9.0.2",
|
|
120
121
|
"ts-node": "^10.0.0",
|
|
121
|
-
"typescript": "~4.
|
|
122
|
+
"typescript": "~4.6.0",
|
|
122
123
|
"util": "^0.12.1"
|
|
123
124
|
},
|
|
124
125
|
"//sampleConfiguration": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference lib="esnext.asynciterable" />
|
|
2
2
|
|
|
3
3
|
import { AzureKeyCredential } from '@azure/core-auth';
|
|
4
|
-
import {
|
|
4
|
+
import { ExtendedCommonClientOptions } from '@azure/core-http-compat';
|
|
5
5
|
import { KeyCredential } from '@azure/core-auth';
|
|
6
6
|
import { OperationOptions } from '@azure/core-client';
|
|
7
7
|
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
@@ -572,7 +572,7 @@ export declare interface CreateOrUpdateAliasOptions extends OperationOptions {
|
|
|
572
572
|
*/
|
|
573
573
|
export declare interface CreateorUpdateDataSourceConnectionOptions extends OperationOptions {
|
|
574
574
|
/**
|
|
575
|
-
* If set to true, Resource will be
|
|
575
|
+
* If set to true, Resource will be updated only if the etag matches.
|
|
576
576
|
*/
|
|
577
577
|
onlyIfUnchanged?: boolean;
|
|
578
578
|
/**
|
|
@@ -586,7 +586,7 @@ export declare interface CreateorUpdateDataSourceConnectionOptions extends Opera
|
|
|
586
586
|
*/
|
|
587
587
|
export declare interface CreateorUpdateIndexerOptions extends OperationOptions {
|
|
588
588
|
/**
|
|
589
|
-
* If set to true, Resource will be
|
|
589
|
+
* If set to true, Resource will be updated only if the etag matches.
|
|
590
590
|
*/
|
|
591
591
|
onlyIfUnchanged?: boolean;
|
|
592
592
|
/** Ignores cache reset requirements. */
|
|
@@ -617,7 +617,7 @@ export declare interface CreateOrUpdateIndexOptions extends OperationOptions {
|
|
|
617
617
|
*/
|
|
618
618
|
export declare interface CreateOrUpdateSkillsetOptions extends OperationOptions {
|
|
619
619
|
/**
|
|
620
|
-
* If set to true, Resource will be
|
|
620
|
+
* If set to true, Resource will be updated only if the etag matches.
|
|
621
621
|
*/
|
|
622
622
|
onlyIfUnchanged?: boolean;
|
|
623
623
|
/**
|
|
@@ -635,7 +635,7 @@ export declare interface CreateOrUpdateSkillsetOptions extends OperationOptions
|
|
|
635
635
|
*/
|
|
636
636
|
export declare interface CreateOrUpdateSynonymMapOptions extends OperationOptions {
|
|
637
637
|
/**
|
|
638
|
-
* If set to true, Resource will be
|
|
638
|
+
* If set to true, Resource will be updated only if the etag matches.
|
|
639
639
|
*/
|
|
640
640
|
onlyIfUnchanged?: boolean;
|
|
641
641
|
}
|
|
@@ -2728,6 +2728,24 @@ export declare enum KnownRegexFlags {
|
|
|
2728
2728
|
UnixLines = "UNIX_LINES"
|
|
2729
2729
|
}
|
|
2730
2730
|
|
|
2731
|
+
/**
|
|
2732
|
+
* Known values for Search Audience
|
|
2733
|
+
*/
|
|
2734
|
+
export declare enum KnownSearchAudience {
|
|
2735
|
+
/**
|
|
2736
|
+
* Audience for Azure China
|
|
2737
|
+
*/
|
|
2738
|
+
AzureChina = "https://search.azure.cn",
|
|
2739
|
+
/**
|
|
2740
|
+
* Audience for Azure Government
|
|
2741
|
+
*/
|
|
2742
|
+
AzureGovernment = "https://search.azure.us",
|
|
2743
|
+
/**
|
|
2744
|
+
* Audience for Azure Public
|
|
2745
|
+
*/
|
|
2746
|
+
AzurePublicCloud = "https://search.azure.com"
|
|
2747
|
+
}
|
|
2748
|
+
|
|
2731
2749
|
/** Known values of {@link SearchIndexerDataSourceType} that the service accepts. */
|
|
2732
2750
|
export declare enum KnownSearchIndexerDataSourceType {
|
|
2733
2751
|
/** Indicates an Azure SQL datasource. */
|
|
@@ -4252,7 +4270,7 @@ export declare class SearchClient<T> implements IndexDocumentsClient<T> {
|
|
|
4252
4270
|
/**
|
|
4253
4271
|
* Client options used to configure Cognitive Search API requests.
|
|
4254
4272
|
*/
|
|
4255
|
-
export declare interface SearchClientOptions extends
|
|
4273
|
+
export declare interface SearchClientOptions extends ExtendedCommonClientOptions {
|
|
4256
4274
|
/**
|
|
4257
4275
|
* The API version to use when communicating with the service.
|
|
4258
4276
|
* @deprecated use {@Link serviceVersion} instead
|
|
@@ -4262,6 +4280,12 @@ export declare interface SearchClientOptions extends CommonClientOptions {
|
|
|
4262
4280
|
* The service version to use when communicating with the service.
|
|
4263
4281
|
*/
|
|
4264
4282
|
serviceVersion?: string;
|
|
4283
|
+
/**
|
|
4284
|
+
* The Audience to use for authentication with Azure Active Directory (AAD). The
|
|
4285
|
+
* audience is not considered when using a shared key.
|
|
4286
|
+
* {@link KnownSearchAudience} can be used interchangeably with audience
|
|
4287
|
+
*/
|
|
4288
|
+
audience?: string;
|
|
4265
4289
|
}
|
|
4266
4290
|
|
|
4267
4291
|
/**
|
|
@@ -4603,7 +4627,7 @@ export declare class SearchIndexClient {
|
|
|
4603
4627
|
/**
|
|
4604
4628
|
* Client options used to configure Cognitive Search API requests.
|
|
4605
4629
|
*/
|
|
4606
|
-
export declare interface SearchIndexClientOptions extends
|
|
4630
|
+
export declare interface SearchIndexClientOptions extends ExtendedCommonClientOptions {
|
|
4607
4631
|
/**
|
|
4608
4632
|
* The API version to use when communicating with the service.
|
|
4609
4633
|
* @deprecated use {@Link serviceVersion} instead
|
|
@@ -4613,6 +4637,12 @@ export declare interface SearchIndexClientOptions extends CommonClientOptions {
|
|
|
4613
4637
|
* The service version to use when communicating with the service.
|
|
4614
4638
|
*/
|
|
4615
4639
|
serviceVersion?: string;
|
|
4640
|
+
/**
|
|
4641
|
+
* The Audience to use for authentication with Azure Active Directory (AAD). The
|
|
4642
|
+
* audience is not considered when using a shared key.
|
|
4643
|
+
* {@link KnownSearchAudience} can be used interchangeably with audience
|
|
4644
|
+
*/
|
|
4645
|
+
audience?: string;
|
|
4616
4646
|
}
|
|
4617
4647
|
|
|
4618
4648
|
/**
|
|
@@ -4865,7 +4895,7 @@ export declare class SearchIndexerClient {
|
|
|
4865
4895
|
/**
|
|
4866
4896
|
* Client options used to configure Cognitive Search API requests.
|
|
4867
4897
|
*/
|
|
4868
|
-
export declare interface SearchIndexerClientOptions extends
|
|
4898
|
+
export declare interface SearchIndexerClientOptions extends ExtendedCommonClientOptions {
|
|
4869
4899
|
/**
|
|
4870
4900
|
* The API version to use when communicating with the service.
|
|
4871
4901
|
* @deprecated use {@Link serviceVersion} instead
|
|
@@ -4875,6 +4905,12 @@ export declare interface SearchIndexerClientOptions extends CommonClientOptions
|
|
|
4875
4905
|
* The service version to use when communicating with the service.
|
|
4876
4906
|
*/
|
|
4877
4907
|
serviceVersion?: string;
|
|
4908
|
+
/**
|
|
4909
|
+
* The Audience to use for authentication with Azure Active Directory (AAD). The
|
|
4910
|
+
* audience is not considered when using a shared key.
|
|
4911
|
+
* {@link KnownSearchAudience} can be used interchangeably with audience
|
|
4912
|
+
*/
|
|
4913
|
+
audience?: string;
|
|
4878
4914
|
}
|
|
4879
4915
|
|
|
4880
4916
|
/** Represents information about the entity (such as Azure SQL table or CosmosDB collection) that will be indexed. */
|
package/CHANGELOG.md
DELETED
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
# Release History
|
|
2
|
-
|
|
3
|
-
## 11.3.0-beta.7 (2022-03-08)
|
|
4
|
-
|
|
5
|
-
### Features Added
|
|
6
|
-
|
|
7
|
-
- Added new APIs `createAlias`, `createOrUpdateAlias`, `deleteAlias`, `getAlias` & `listAliases` operations to the `SearchIndexClient`.
|
|
8
|
-
|
|
9
|
-
## 11.3.0-beta.6 (2022-02-08)
|
|
10
|
-
|
|
11
|
-
### Features Added
|
|
12
|
-
|
|
13
|
-
- Added new type of SearchIndexer skill - `AzureMachineLearningSkill`. Please refer [#20183](https://github.com/Azure/azure-sdk-for-js/pull/20183) for further details.
|
|
14
|
-
|
|
15
|
-
### Other Changes
|
|
16
|
-
|
|
17
|
-
- Deprecated `SearchClientOptions.apiVersion` in favor of `SearchClientOptions.serviceVersion`.
|
|
18
|
-
- `apiVersion` will continue to be supported in version 11.x; however, customers are encouraged to migrate to `serviceVersion` instead which is more consistent with the rest of our client libraries.
|
|
19
|
-
|
|
20
|
-
## 11.3.0-beta.5 (2021-11-09)
|
|
21
|
-
|
|
22
|
-
### Features Added
|
|
23
|
-
|
|
24
|
-
- Added `semanticConfiguration` property to `SearchRequest` object.
|
|
25
|
-
- Several new languages are added to the `KnownQueryLanguage` object.
|
|
26
|
-
- Added `semanticSettings` property to `SearchIndex` object.
|
|
27
|
-
|
|
28
|
-
### Breaking Changes
|
|
29
|
-
|
|
30
|
-
- Renamed `IndexerCurrentState` property to `IndexerState` property.
|
|
31
|
-
- Renamed `AllDocsInitialChangeTrackingState` property to `AllDocumentsInitialChangeTrackingState` property.
|
|
32
|
-
- Renamed `AllDocsFinalChangeTrackingState` property to `AllDocumentsFinalChangeTrackingState` property.
|
|
33
|
-
- Renamed `ResetDocsInitialChangeTrackingState` property to `ResetDocumentsInitialChangeTrackingState` property.
|
|
34
|
-
- Renamed `ResetDocsFinalChangeTrackingState` property to `ResetDocumentsFinalChangeTrackingState` property.
|
|
35
|
-
- Renamed `SkillNames` property to `ResetSkillsOptions` (with a `SkillNames` property)
|
|
36
|
-
- Renamed `ResetDocs` method to `ResetDocuments` in the SDK client.
|
|
37
|
-
|
|
38
|
-
### Bugs Fixed
|
|
39
|
-
|
|
40
|
-
- Fixed the issue with the presence of recursive structure while uploading documents. Please refer [#15656](https://github.com/Azure/azure-sdk-for-js/issues/15656) for further details.
|
|
41
|
-
|
|
42
|
-
## 11.3.0-beta.4 (2021-10-05)
|
|
43
|
-
|
|
44
|
-
### Features Added
|
|
45
|
-
|
|
46
|
-
- Added properties `currentState` & `statusDetail` to the `IndexerExecutionResult` object.
|
|
47
|
-
- Added operations `resetDocs` & `resetSkills` to the `SearchIndexerClient` class.
|
|
48
|
-
|
|
49
|
-
### Breaking Changes
|
|
50
|
-
|
|
51
|
-
- Changed property `ignoreResetRequirements` to `skipIndexerResetRequirementForCache` in `CreateorUpdateDataSourceConnectionOptions`, `CreateorUpdateIndexerOptions` & `CreateOrUpdateSkillsetOptions` objects.
|
|
52
|
-
- Changed the type of `answers` property from `Answers` to `QueryAnswerType`, in the `SearchRequest` object.
|
|
53
|
-
- Changed the type of `captions` property from `Captions` to `QueryCaptionType`, in the `SearchRequest` object.
|
|
54
|
-
- Changed the type of `speller` property from `Speller` to `QuerySpellerType`, in the `SearchRequest` object.
|
|
55
|
-
- Changed the underlying dependency of the SDK from `core-http` to `core-rest-pipeline` package.
|
|
56
|
-
|
|
57
|
-
## 11.3.0-beta.3 (2021-09-07)
|
|
58
|
-
|
|
59
|
-
### Features Added
|
|
60
|
-
|
|
61
|
-
- Added a new property `normalizerName` to the `AnalyzeRequest` object.
|
|
62
|
-
- Added 2 new properties `captions` & `semanticFields` to the `SearchRequestOptions` object.
|
|
63
|
-
|
|
64
|
-
## 11.3.0-beta.2 (2021-08-10)
|
|
65
|
-
|
|
66
|
-
### Features Added
|
|
67
|
-
|
|
68
|
-
- Added a new parameter `ignoreResetRequirements` for the `createOrUpdate` operation of Data Sources.
|
|
69
|
-
- Added new parameters `ignoreResetRequirements` & `disableCacheReprocessingChangeDetection` for the `createOrUpdate` operation of Indexers and Skillsets.
|
|
70
|
-
|
|
71
|
-
### Bugs Fixed
|
|
72
|
-
|
|
73
|
-
- Converted the complex fields correctly within the Search Fields. Please refer [#16489](https://github.com/Azure/azure-sdk-for-js/issues/16489) for more details.
|
|
74
|
-
- Fixed the typos `anayzerName` to `analyzerName` and `normalizerNames` to `normalizerName` in `convertFieldsToPublic` method of `serviceUtils.ts`.
|
|
75
|
-
|
|
76
|
-
### Other Changes
|
|
77
|
-
|
|
78
|
-
- Removed the `| null` from the definitions of the optional values. Please refer [#16694](https://github.com/Azure/azure-sdk-for-js/pull/16694) for more details.
|
|
79
|
-
|
|
80
|
-
## 11.3.0-beta.1 (2021-07-07)
|
|
81
|
-
|
|
82
|
-
- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
|
|
83
|
-
- Updated our internal core package dependencies to their latest versions in order to add support for Opentelemetry 1.0.0 which is compatible with the latest versions of our other client libraries.
|
|
84
|
-
- Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features
|
|
85
|
-
- Regenerated the search SDK with the latest swaggers that includes the following changes:
|
|
86
|
-
|
|
87
|
-
- Support for `TokenCredential` has been added. With this addition, the Search SDK supports authentication via AAD.
|
|
88
|
-
- Identity types - `SearchIndexerDataNoneIdentity` & `SearchIndexerDataUserAssignedIdentity` have been added.
|
|
89
|
-
- The following new skills have been added:
|
|
90
|
-
- SentimentSkill(V3)
|
|
91
|
-
- EntityLinkingSkill(V3)
|
|
92
|
-
- EntityRecognitionSkill(V3)
|
|
93
|
-
- PIIDetectionSkill
|
|
94
|
-
- A new property `lineEnding` has been added to the skill `OcrSkill`.
|
|
95
|
-
|
|
96
|
-
## 11.2.0 (2021-06-08)
|
|
97
|
-
|
|
98
|
-
The list of changes in 11.2.0 since 11.1.0 & 11.2.0-beta.2 are provided below:
|
|
99
|
-
|
|
100
|
-
**Changes since 11.1.0**
|
|
101
|
-
|
|
102
|
-
- Added support for Knowledge Store feature through the new `SearchIndexerKnowledgeStore` in the `SearchIndexerSkillset` object.
|
|
103
|
-
- The `skillsetCounter` property in `ServiceCounters` object has been made optional.
|
|
104
|
-
- Added Support for new datasource `adlsgen2`. Please refer [#14620](https://github.com/Azure/azure-sdk-for-js/pull/14620) for further details.
|
|
105
|
-
- Added Support for new skills such as `CustomEntityLookupSkill`, `DocumentExtractionSkill`, etc. Please refer [#14620](https://github.com/Azure/azure-sdk-for-js/pull/14620) for further details.
|
|
106
|
-
|
|
107
|
-
**Changes since 11.2.0-beta.2**
|
|
108
|
-
|
|
109
|
-
- Removed Support for Semantic Search and introduced new properties in `SearchOptions`, `SearchRequest`, `SearchResult` and `SearchDocumentsResult` objects.
|
|
110
|
-
- Removed Support for normalizers `LexicalNormalizer` & `CustomNormalizer`. Please refer [#14620](https://github.com/Azure/azure-sdk-for-js/pull/14620) for further details.
|
|
111
|
-
|
|
112
|
-
## 11.2.0-beta.2 (2021-05-11)
|
|
113
|
-
|
|
114
|
-
- Added Support for Semantic Search and introduced new properties in `SearchOptions`, `SearchRequest`, `SearchResult` and `SearchDocumentsResult` objects.
|
|
115
|
-
- Added support for Knowledge Store feature through the new `SearchIndexerKnowledgeStore` in the `SearchIndexerSkillset` object.
|
|
116
|
-
- The `skillsetCounter` property in `ServiceCounters` object has been made optional.
|
|
117
|
-
|
|
118
|
-
## 11.2.0-beta.1 (2021-04-06)
|
|
119
|
-
|
|
120
|
-
- Added Support for new skills such as `CustomEntityLookupSkill`, `DocumentExtractionSkill`, etc. Please refer [#14620](https://github.com/Azure/azure-sdk-for-js/pull/14620) for further details.
|
|
121
|
-
- Added Support for new datasource `adlsgen2`. Please refer [#14620](https://github.com/Azure/azure-sdk-for-js/pull/14620) for further details.
|
|
122
|
-
- Added Support for normalizers `LexicalNormalizer` & `CustomNormalizer`. Please refer [#14620](https://github.com/Azure/azure-sdk-for-js/pull/14620) for further details.
|
|
123
|
-
|
|
124
|
-
## 11.1.0 (2021-02-11)
|
|
125
|
-
|
|
126
|
-
- The list of changes in 11.1.0 since 11.0.3 & 11.1.0-beta.2 are provided below:
|
|
127
|
-
|
|
128
|
-
**Changes since 11.0.3**
|
|
129
|
-
|
|
130
|
-
- Added Batching ability to the search SDK. The `SearchIndexingBufferedSender` class enables the user to perform indexing documents in batch mode. There are several user configurable properties such as `autoFlush`, `flushWindowInMs`, `throttlingDelayInMs`, etc.
|
|
131
|
-
- The types `BlobIndexerDataToExtract`, `BlobIndexerImageAction`, `BlobIndexerParsingMode`, `BlobIndexerPDFTextRotationAlgorithm` have changed from union of string literals to string. This is to support the service definition for these types to be extensible enums. The documentation on methods that use these have been updated with known values that can be used for these types.
|
|
132
|
-
|
|
133
|
-
**Changes since 11.1.0-beta.2**
|
|
134
|
-
|
|
135
|
-
- [Breaking] Hidden the constructor of `SearchIndexingBufferedSender` and made it to an interface. Please refer [#11785](https://github.com/Azure/azure-sdk-for-js/pull/11785) for further details.
|
|
136
|
-
- Added `encryptionKey` property to `SearchIndexerDataSource`, `SearchIndexer` and `SearchIndexerSkillSet` objects. Please refer [#12275](https://github.com/Azure/azure-sdk-for-js/pull/12275) for further details.
|
|
137
|
-
- Added user configurable properties such as `flushWindowInMs`, `initialBatchActionCount`, `maxRetries`, etc to the `SearchIndexingBufferedSenderOptions` object. Please refer [#12297](https://github.com/Azure/azure-sdk-for-js/pull/12297) for further details.
|
|
138
|
-
|
|
139
|
-
## 11.1.0-beta.1 (2020-10-05)
|
|
140
|
-
|
|
141
|
-
- Added Batching ability to the search SDK. Please refer [#11544](https://github.com/Azure/azure-sdk-for-js/pull/11544) for further details.
|
|
142
|
-
- Regenerated the search SDK using the latest swaggers. Please refer [#11533](https://github.com/Azure/azure-sdk-for-js/pull/11533) for further details.
|
|
143
|
-
- Fixed the testcases to ensure success in CI. Please refer [#11518](https://github.com/Azure/azure-sdk-for-js/pull/11518) for further details.
|
|
144
|
-
- Added more test cases for odata scenario. Please refer [#11321](https://github.com/Azure/azure-sdk-for-js/pull/11321) for further details.
|
|
145
|
-
|
|
146
|
-
## 11.0.3 (2020-08-04)
|
|
147
|
-
|
|
148
|
-
- Fixed the parented tracing span in the searchClient.search API. Please refer [#10442](https://github.com/Azure/azure-sdk-for-js/issues/10442) for further details.
|
|
149
|
-
|
|
150
|
-
## 11.0.2 (2020-07-31)
|
|
151
|
-
|
|
152
|
-
- Fixed the samples in the Readme File. Please refer [#10383](https://github.com/Azure/azure-sdk-for-js/pull/10383) for further details.
|
|
153
|
-
|
|
154
|
-
## 11.0.1 (2020-07-20)
|
|
155
|
-
|
|
156
|
-
- [BugFix] Set the correct continuation token in the search documrnts API. Please refer [#10146](https://github.com/Azure/azure-sdk-for-js/pull/10146) for further details.
|
|
157
|
-
|
|
158
|
-
## 11.0.0 (2020-07-06)
|
|
159
|
-
|
|
160
|
-
- Set `ConnectionString` value to `<unchanged>` in `SearchIndexerDataSourceConnection`, if the value is not set by the user.
|
|
161
|
-
- [Breaking] In Suggest API & Search API return values, a new property called `document` is introduced. All user-defined fields are moved inside this `document` property.
|
|
162
|
-
- [Breaking] In `analyzeText` API, the `text` parameter is moved from method level to inside `options` bag.
|
|
163
|
-
- [Breaking] In `search` API, `includeTotalResultCount` property is renamed to `includeTotalCount`.
|
|
164
|
-
- [Breaking] In `ServiceCounters`, the `skillsetCounter` property has been removed.
|
|
165
|
-
- [Breaking] Modified the names of several properties. Please refer [#9321](https://github.com/Azure/azure-sdk-for-js/issues/9321) for a detailed list of renames.
|
|
166
|
-
|
|
167
|
-
## 1.0.0-preview.4 (2020-06-08)
|
|
168
|
-
|
|
169
|
-
- [Breaking] Changed `ListIndexes` operation to a pageable operation.
|
|
170
|
-
- [Breaking] Added `onlyIfUnchanged` parameter for CreateOrUpdate and Delete operations.
|
|
171
|
-
- [Breaking] Removed `$select` property for the List operations.
|
|
172
|
-
- [Breaking] Refactored `SearchServiceClient` and split it to `SearchIndexClient` and `SearchIndexerClient` and changed `SearchIndexClient` class to `SearchClient` class.
|
|
173
|
-
- [Breaking] Moved non-optional parameters from options bag.
|
|
174
|
-
- [Breaking] Renamed `countDocuments` method to `getDocumentsCount` method.
|
|
175
|
-
- [Breaking] In `search` method, moved the `searchText` parameter from the options bag to method parameter.
|
|
176
|
-
- [Breaking] In `indexDocuments` method, the options parameter is renamed to `IndexDocumentsOptions`.
|
|
177
|
-
- [Breaking] Modified `deleteDocuments` method to get documents as a parameter.
|
|
178
|
-
- [Breaking] In `getIndexStatistics` method, renamed the return type from `GetIndexStatisticsResult` to `SearchIndexStatistics`.
|
|
179
|
-
- [Breaking] In `getServiceStatistics` method, renamed the return type from `ServiceStatistics` to `SearchServiceStatistics`.
|
|
180
|
-
- [Breaking] Modified `DataSource` model name to `DataSourceConnection`. Changed all references in the method names, parameters, etc.
|
|
181
|
-
- [Breaking] Renamed `SimpleDataType` model to `SearchFieldDataType` model.
|
|
182
|
-
- [Breaking] Modified the names of several models & parameters. Please refer [#8984](https://github.com/Azure/azure-sdk-for-js/issues/8984), [#9037](https://github.com/Azure/azure-sdk-for-js/issues/9037) and [#8383](https://github.com/Azure/azure-sdk-for-js/issues/8383) for a detailed list of renames.
|
|
183
|
-
- Added separate methods for getting just names such as `listIndexesNames`, `listSynonymMapsNames`, etc.
|
|
184
|
-
- Added `getSearchClient` method to the `SearchIndexClient` class.
|
|
185
|
-
|
|
186
|
-
## 1.0.0-preview.3 (2020-05-05)
|
|
187
|
-
|
|
188
|
-
- Added support for Indexers API (Create, Get, List, etc.)
|
|
189
|
-
- Added support for Datasources API.(Create, Get, List, etc.)
|
|
190
|
-
- Fixed a bug where GeographyPoints were serialized incorrectly causing latitude and longitude to be flipped.
|
|
191
|
-
|
|
192
|
-
## 1.0.0-preview.2 (2020-04-06)
|
|
193
|
-
|
|
194
|
-
- [Breaking] Package renamed to `@azure/search-documents` and version number reset to `1.0.0-preview.2`.
|
|
195
|
-
- Support for index management operations using the `SearchServiceClient`.
|
|
196
|
-
- [Breaking] `indexDocuments` on `SearchIndexClient` now takes an `IndexDocumentsBatch` object instead of a raw action array. This new type helps compose an array of actions to be performed on the index.
|
|
197
|
-
- [Breaking] In `SearchIndexClient`, removed options `mergeIfExists` and `uploadIfNotExists` on `uploadDocuments` and `mergeDocuments` and replaced them with new helper `mergeOrUploadDocuments`.
|
|
198
|
-
- The type `IndexAction` was renamed to `IndexDocumentsAction`.
|
|
199
|
-
- [Breaking] Removed `SearchApiKeyCredential` and replaced with `AzureKeyCredential`.
|
|
200
|
-
- [Breaking] Search results accessed `byPage` now have an opaque `continuationToken` in place of `nextLink` and `nextPageParameters`.
|
|
201
|
-
|
|
202
|
-
## 11.0.0-preview.1 (2020-03-09)
|
|
203
|
-
|
|
204
|
-
- Initial implementation of the data-plane Cognitive Search Client. The version number starts at 11 to align with client libraries in other languages.
|
|
205
|
-
- This first preview has support for document operations on an index, such as querying and document management.
|