@azure/search-documents 12.1.0-alpha.20240508.1 → 12.1.0-alpha.20240510.2
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/dist/index.js +8 -8
- 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/models/index.js +1 -1
- package/dist-esm/src/generated/data/models/index.js.map +1 -1
- package/dist-esm/src/generated/data/searchClient.js +1 -1
- package/dist-esm/src/generated/data/searchClient.js.map +1 -1
- package/dist-esm/src/generated/service/searchServiceClient.js +1 -1
- package/dist-esm/src/generated/service/searchServiceClient.js.map +1 -1
- package/dist-esm/src/searchIndexClient.js +5 -5
- package/dist-esm/src/searchIndexClient.js.map +1 -1
- package/package.json +4 -2
- package/types/search-documents.d.ts +7432 -7432
package/dist/index.js
CHANGED
|
@@ -249,7 +249,7 @@ exports.KnownVectorQueryKind = void 0;
|
|
|
249
249
|
/** Vector query where a raw vector value is provided. */
|
|
250
250
|
KnownVectorQueryKind["Vector"] = "vector";
|
|
251
251
|
/** Vector query where a text value that needs to be vectorized is provided. */
|
|
252
|
-
KnownVectorQueryKind["
|
|
252
|
+
KnownVectorQueryKind["Text"] = "text";
|
|
253
253
|
})(exports.KnownVectorQueryKind || (exports.KnownVectorQueryKind = {}));
|
|
254
254
|
/** Known values of {@link VectorFilterMode} that the service accepts. */
|
|
255
255
|
var KnownVectorFilterMode;
|
|
@@ -3932,7 +3932,7 @@ let SearchClient$1 = class SearchClient extends coreHttpCompat__namespace.Extend
|
|
|
3932
3932
|
const defaults = {
|
|
3933
3933
|
requestContentType: "application/json; charset=utf-8",
|
|
3934
3934
|
};
|
|
3935
|
-
const packageDetails = `azsdk-js-search-documents/12.1.0-beta.
|
|
3935
|
+
const packageDetails = `azsdk-js-search-documents/12.1.0-beta.2`;
|
|
3936
3936
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
3937
3937
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
3938
3938
|
: `${packageDetails}`;
|
|
@@ -13387,7 +13387,7 @@ class SearchServiceClient extends coreHttpCompat__namespace.ExtendedServiceClien
|
|
|
13387
13387
|
const defaults = {
|
|
13388
13388
|
requestContentType: "application/json; charset=utf-8",
|
|
13389
13389
|
};
|
|
13390
|
-
const packageDetails = `azsdk-js-search-documents/12.1.0-beta.
|
|
13390
|
+
const packageDetails = `azsdk-js-search-documents/12.1.0-beta.2`;
|
|
13391
13391
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
13392
13392
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
13393
13393
|
: `${packageDetails}`;
|
|
@@ -13585,7 +13585,7 @@ class SearchIndexClient {
|
|
|
13585
13585
|
}
|
|
13586
13586
|
listAliasesPage(options = {}) {
|
|
13587
13587
|
return tslib.__asyncGenerator(this, arguments, function* listAliasesPage_1() {
|
|
13588
|
-
const { span, updatedOptions } = createSpan("
|
|
13588
|
+
const { span, updatedOptions } = createSpan("SearchIndexClient-listAliases", options);
|
|
13589
13589
|
try {
|
|
13590
13590
|
const result = yield tslib.__await(this.client.aliases.list(updatedOptions));
|
|
13591
13591
|
yield yield tslib.__await(result.aliases);
|
|
@@ -13930,7 +13930,7 @@ class SearchIndexClient {
|
|
|
13930
13930
|
* @param options - The options parameters.
|
|
13931
13931
|
*/
|
|
13932
13932
|
async createOrUpdateAlias(alias, options = {}) {
|
|
13933
|
-
const { span, updatedOptions } = createSpan("
|
|
13933
|
+
const { span, updatedOptions } = createSpan("SearchIndexClient-createOrUpdateAlias", options);
|
|
13934
13934
|
try {
|
|
13935
13935
|
const etag = options.onlyIfUnchanged ? alias.etag : undefined;
|
|
13936
13936
|
const result = await this.client.aliases.createOrUpdate(alias.name, alias, Object.assign(Object.assign({}, updatedOptions), { ifMatch: etag }));
|
|
@@ -13953,7 +13953,7 @@ class SearchIndexClient {
|
|
|
13953
13953
|
* @param options - The options parameters.
|
|
13954
13954
|
*/
|
|
13955
13955
|
async createAlias(alias, options = {}) {
|
|
13956
|
-
const { span, updatedOptions } = createSpan("
|
|
13956
|
+
const { span, updatedOptions } = createSpan("SearchIndexClient-createAlias", options);
|
|
13957
13957
|
try {
|
|
13958
13958
|
const result = await this.client.aliases.create(alias, updatedOptions);
|
|
13959
13959
|
return result;
|
|
@@ -13976,7 +13976,7 @@ class SearchIndexClient {
|
|
|
13976
13976
|
* @param options - The options parameters.
|
|
13977
13977
|
*/
|
|
13978
13978
|
async deleteAlias(alias, options = {}) {
|
|
13979
|
-
const { span, updatedOptions } = createSpan("
|
|
13979
|
+
const { span, updatedOptions } = createSpan("SearchIndexClient-deleteAlias", options);
|
|
13980
13980
|
try {
|
|
13981
13981
|
const aliasName = typeof alias === "string" ? alias : alias.name;
|
|
13982
13982
|
const etag = typeof alias === "string" ? undefined : options.onlyIfUnchanged ? alias.etag : undefined;
|
|
@@ -13999,7 +13999,7 @@ class SearchIndexClient {
|
|
|
13999
13999
|
* @param options - The options parameters.
|
|
14000
14000
|
*/
|
|
14001
14001
|
async getAlias(aliasName, options = {}) {
|
|
14002
|
-
const { span, updatedOptions } = createSpan("
|
|
14002
|
+
const { span, updatedOptions } = createSpan("SearchIndexClient-getAlias", options);
|
|
14003
14003
|
try {
|
|
14004
14004
|
const result = await this.client.aliases.get(aliasName, updatedOptions);
|
|
14005
14005
|
return result;
|