Skip to content

Commit eccabf0

Browse files
authored
Merge pull request #268478 from HeidiSteen/heidist-fix
[azure search] Update custom analyzer tutorial
2 parents 2348ab6 + cf32847 commit eccabf0

File tree

3 files changed

+297
-211
lines changed

3 files changed

+297
-211
lines changed

articles/search/search-get-started-vector.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ If you don't have an Azure subscription, create a [free account](https://azure.m
3434

3535
+ Optionally, to run the query example that invokes [semantic reranking](semantic-search-overview.md), your search service must be Basic tier or higher, with [semantic ranking enabled](semantic-how-to-enable-disable.md).
3636

37-
+ Optionally, an [Azure OpenAI](https://aka.ms/oai/access) resource with a deployment of **text-embedding-ada-002**. The source `.rest` file includes an optional step for generating new text embeddings, but we provide existing embeddings so that you can omit this dependency.
37+
+ Optionally, an [Azure OpenAI](https://aka.ms/oai/access) resource with a deployment of **text-embedding-ada-002**. The source `.rest` file includes an optional step for generating new text embeddings, but we provide pre-generated embeddings so that you can omit this dependency.
3838

3939
## Copy a key and URL
4040

@@ -54,6 +54,17 @@ A valid API key establishes trust, on a per request basis, between the applicati
5454

5555
The index schema is organized around hotels content. Sample data consists of vector and nonvector names and descriptions of seven fictitious hotels. This schema includes configurations for vector indexing and queries, and for semantic ranking.
5656

57+
1. Open a new text file in Visual Studio Code.
58+
59+
1. Set variables to the search endpoint and the API key you collected earlier.
60+
61+
```http
62+
@baseUrl = PUT-YOUR-SEARCH-SERVICE-URL-HERE
63+
@apiKey = PUT-YOUR-ADMIN-API-KEY-HERE
64+
```
65+
66+
1. Save the file with a `.rest` file extension.
67+
5768
1. Paste in the following example to create the hotels-vector-quickstart index on your search service.
5869

5970
```http
@@ -210,7 +221,7 @@ The index schema is organized around hotels content. Sample data consists of vec
210221
}
211222
```
212223
213-
1. Select **Send request**. You should have an `HTTP/1.1 201 Created` response and the response body should include the JSON representation of the index schema.
224+
1. Select **Send request**. Recall that you need the REST client to send requests. You should have an `HTTP/1.1 201 Created` response and the response body should include the JSON representation of the index schema.
214225
215226
**Key points:**
216227

articles/search/service-create-private-endpoint.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,13 @@ When the search service endpoint is private, some portal features are disabled.
215215
216216
1. Close the remote desktop connection to *myVM*.
217217
218-
1. To verify that your service isn't accessible on a public endpoint, open Postman on your local workstation and attempt the first several tasks in the quickstart. If you receive an error that the remote server doesn't exist, you've successfully configured a private endpoint for your search service.
218+
1. To verify that your service isn't accessible on a public endpoint, open a REST client on your local workstation and attempt the first several tasks in the quickstart. If you receive an error that the remote server doesn't exist, you've successfully configured a private endpoint for your search service.
219219
220220
<a id="portal-access-private-search-service"></a>
221221
222222
## Use the Azure portal to access a private search service
223223
224-
When the search service endpoint is private, some portal features are disabled. You can view and manage service level information, but index, indexer, and skillset information is hidden for security reasons.
224+
When the search service endpoint is private, some portal features are disabled. You can view and manage service level information, but index, indexer, and skillset information are hidden for security reasons.
225225
226226
To work around this restriction, connect to Azure portal from a browser on a virtual machine inside the virtual network. The portal uses the private endpoint on the connection and gives you visibility into content and operations.
227227

0 commit comments

Comments
 (0)