You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> You can [download the source code](https://github.com/Azure-Samples/azure-search-rest-samples/tree/main/Quickstart-semantic-search) to start with a finished project or follow these steps to create your own.
14
14
15
15
## Set up the client
@@ -20,15 +20,15 @@ We recommend [Visual Studio Code](https://code.visualstudio.com/download) with a
20
20
21
21
1. Start Visual Studio Code and create a new .http or .rest file.
22
22
23
-
1. At the top, specify environment variables for your search service, authorization, and index name.
23
+
1. At the top, set environment variables for your search service, authorization, and index name.
24
24
25
25
+ For @baseURL, sign in to the Azure portal and copy the URL from the search service **Overview** page.
26
26
27
-
+ For @token, follow the instruction in [Connect without keys](../../search-get-started-rbac.md) to get your personal identity token.
27
+
+ For @token, follow the instructions in [Connect without keys](../../search-get-started-rbac.md) to get your personal identity token.
28
28
29
29
+ For @index-name, provide a unique name or use the default, *hotel-semantic-quickstart*.
30
30
31
-
1.Paste in your first request and then select **Send**. This request returns a list of existing indexes. You should get an HTTP 200 Success status code and a list of indexes, including hotels-sample-index. This step confirms access to the search service.
31
+
1.To test the connection, send your first request. This GET request returns a list of existing indexes. You should get an HTTP 200 Success status code and a list of indexes, including hotels-sample-index used in this quickstart.
32
32
33
33
```http
34
34
### List existing indexes by name (verify the connection)
@@ -39,7 +39,11 @@ We recommend [Visual Studio Code](https://code.visualstudio.com/download) with a
39
39
40
40
## Update and query the index
41
41
42
-
In this section, you make REST API calls to update a search index and send a query that invokes semantic ranking. Visual Studio Code displays the response to each request in an adjacent pane. For more information about each step, see [Explaining the code](#explaining-the-code).
42
+
In this section, you make REST API calls to update a search index to include a semantic configuration, and then send a query that invokes semantic ranking. Visual Studio Code displays the response to each request in an adjacent pane. For more information about each step, see [Explaining the code](#explaining-the-code).
43
+
44
+
```json
45
+
TBD
46
+
```
43
47
44
48
## Explaining the code
45
49
@@ -48,10 +52,10 @@ This section explains the REST API calls that you made to:
48
52
+[Update an index with a semantic configuration](#add-a-semantic-configuration-to-the-index)
49
53
+[Query the index using semantic parameters](#add-semantic-ranking-to-queries)
0 commit comments