Regeneration and Other changes (#9711)

* Regeneration and Other changes

* Test Build Fix

* Minor Regenerate Change
This commit is contained in:
Sarangan Rajamanickam 2020-06-25 22:11:17 -07:00 коммит произвёл GitHub
Родитель 37506da527
Коммит d0697b095c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
13 изменённых файлов: 27 добавлений и 22 удалений

Просмотреть файл

@ -102,7 +102,7 @@ export async function getSinglePackageName(typescriptReadmePath: string): Promis
const readmeBuffer: Buffer = await fs.readFile(typescriptReadmePath);
const yamlSectionBuffer = await getYamlSection(readmeBuffer, "``` yaml $(typescript)", "```");
const yamlSectionText = yamlSectionBuffer.toString();
const yamlSection = yaml.safeLoad(yamlSectionText);
const yamlSection:any = yaml.safeLoad(yamlSectionText);
return yamlSection["typescript"]["package-name"];
}

Просмотреть файл

@ -1,6 +1,11 @@
# Release History
## 1.0.0-preview.5 (Unreleased)
## 11.0.0 (2020-07-06)
- Set `ConnectionString` value to `<unchanged>` in `SearchIndexerDataSourceConnection`, if the value is not set by the user.
- [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.
- [Breaking] In `analyzeText` API, the `text` parameter is moved from method level to inside `options` bag.
- [Breaking] In `search` API, `includeTotalResultCount` property is renamed to `includeTotalCount`.
- [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.
## 1.0.0-preview.4 (2020-06-08)

Просмотреть файл

@ -279,7 +279,7 @@ async function main() {
main();
```
For a more advanced search that uses [Lucene syntax](https://docs.microsoft.com/azure/search/query-lucene-syntax), specify `queryType` to be `all`:
For a more advanced search that uses [Lucene syntax](https://docs.microsoft.com/azure/search/query-lucene-syntax), specify `queryType` to be `full`:
```js
const { SearchClient, AzureKeyCredential } = require("@azure/search-documents");

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@azure/search-documents",
"version": "1.0.0-preview.5",
"version": "11.0.0",
"description": "Azure client library to use Cognitive Search for node.js and browser.",
"sdk-type": "client",
"main": "dist/index.js",

Просмотреть файл

@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
export const SDK_VERSION: string = "1.0.0-preview.5";
export const SDK_VERSION: string = "11.0.0";

Просмотреть файл

@ -11,7 +11,7 @@
import * as coreHttp from "@azure/core-http";
const packageName = "@azure/search-documents";
const packageVersion = "1.0.0-preview.5";
const packageVersion = "11.0.0";
export class SearchClientContext extends coreHttp.ServiceClient {
apiVersion: string;

Просмотреть файл

@ -78,16 +78,6 @@ export const ifNoneMatch: coreHttp.OperationParameter = {
}
}
};
export const indexName: coreHttp.OperationURLParameter = {
parameterPath: "indexName",
mapper: {
required: true,
serializedName: "indexName",
type: {
name: "String"
}
}
};
export const indexerName: coreHttp.OperationURLParameter = {
parameterPath: "indexerName",
mapper: {
@ -98,6 +88,16 @@ export const indexerName: coreHttp.OperationURLParameter = {
}
}
};
export const indexName: coreHttp.OperationURLParameter = {
parameterPath: "indexName",
mapper: {
required: true,
serializedName: "indexName",
type: {
name: "String"
}
}
};
export const prefer: coreHttp.OperationParameter = {
parameterPath: "prefer",
mapper: {

Просмотреть файл

@ -11,7 +11,7 @@
import * as coreHttp from "@azure/core-http";
const packageName = "@azure/search-documents";
const packageVersion = "1.0.0-preview.5";
const packageVersion = "11.0.0";
export class SearchServiceClientContext extends coreHttp.ServiceClient {
apiVersion: string;

Просмотреть файл

@ -65,7 +65,7 @@ export class SearchClient<T> {
/**
* The API version to use when communicating with the service.
*/
public readonly apiVersion: string = "2019-05-06-Preview";
public readonly apiVersion: string = "2020-06-30";
/**
* The endpoint of the search service

Просмотреть файл

@ -56,7 +56,7 @@ export class SearchIndexClient {
/**
* The API version to use when communicating with the service.
*/
public readonly apiVersion: string = "2019-05-06-Preview";
public readonly apiVersion: string = "2020-06-30";
/**
* The endpoint of the search service

Просмотреть файл

@ -54,7 +54,7 @@ export class SearchIndexerClient {
/**
* The API version to use when communicating with the service.
*/
public readonly apiVersion: string = "2019-05-06-Preview";
public readonly apiVersion: string = "2020-06-30";
/**
* The endpoint of the search service

Просмотреть файл

@ -10,7 +10,7 @@ generate-metadata: false
license-header: MICROSOFT_MIT_NO_VERSION
output-folder: ../
source-code-folder-path: ./src/generated/data
input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/search/data-plane/Azure.Search/preview/2019-05-06-preview/searchindex.json
input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/search/data-plane/Azure.Search/preview/2020-06-30/searchindex.json
add-credentials: false
title: SearchClient
use-extension:

Просмотреть файл

@ -10,7 +10,7 @@ generate-metadata: false
license-header: MICROSOFT_MIT_NO_VERSION
output-folder: ../
source-code-folder-path: ./src/generated/service
input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/search/data-plane/Azure.Search/preview/2019-05-06-preview/searchservice.json
input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/search/data-plane/Azure.Search/preview/2020-06-30/searchservice.json
add-credentials: false
use-extension:
"@microsoft.azure/autorest.typescript": "5.0.1"