Skip to content

Commit 681a316

Browse files
authored
Merge pull request #180220 from diberry/diberry/1117-cog-search-python
[Azure Search] Add Search to web - py
2 parents 5d023ed + 2a410d8 commit 681a316

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

articles/search/tutorial-python-create-load-index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: diberry
77
ms.author: diberry
88
ms.service: cognitive-search
99
ms.topic: tutorial
10-
ms.date: 05/25/2021
10+
ms.date: 11/17/2021
1111
ms.custom: devx-track-python
1212
ms.devlang: python
1313
---
@@ -58,10 +58,10 @@ The script uses the Azure SDK for Cognitive Search:
5858

5959
1. In Visual Studio Code, open the `bulk_upload.py` file in the subdirectory, `search-website/bulk-upload`, replace the following variables with your own values to authenticate with the Azure Search SDK:
6060

61-
* YOUR-SEARCH-RESOURCE-NAME
62-
* YOUR-SEARCH-ADMIN-KEY
61+
* YOUR-SEARCH-SERVICE-NAME
62+
* YOUR-SEARCH-SERVICE-ADMIN-API-KEY
6363

64-
:::code language="python" source="~/azure-search-python-samples/search-website/bulk-upload/bulk-upload.py" highlight="12,13, 117" :::
64+
:::code language="python" source="~/azure-search-python-samples/search-website/bulk-upload/bulk-upload.py" highlight="20,21,69,83,135" :::
6565

6666
1. Open an integrated terminal in Visual Studio for the project directory's subdirectory, `search-website/bulk-upload`, and run the following command to install the dependencies.
6767

articles/search/tutorial-python-deploy-static-web-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: diberry
77
ms.author: diberry
88
ms.service: cognitive-search
99
ms.topic: tutorial
10-
ms.date: 05/25/2021
10+
ms.date: 11/17/2021
1111
ms.custom: devx-track-python
1212
ms.devlang: python
1313
---

articles/search/tutorial-python-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: diberry
77
ms.author: diberry
88
ms.service: cognitive-search
99
ms.topic: tutorial
10-
ms.date: 05/25/2021
10+
ms.date: 11/17/2021
1111
ms.custom: devx-track-python
1212
ms.devlang: python
1313
---

articles/search/tutorial-python-search-query-integration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: diberry
77
ms.author: diberry
88
ms.service: cognitive-search
99
ms.topic: tutorial
10-
ms.date: 05/25/2021
10+
ms.date: 11/17/2021
1111
ms.custom: devx-track-python
1212
ms.devlang: python
1313
---
@@ -59,7 +59,7 @@ The search suggester, `sg`, is defined in the [schema file](https://github.com/A
5959

6060
Routing for the Suggest API is contained in the [function.json](https://github.com/Azure-Samples/azure-search-python-samples/blob/master/search-website/api/Suggest/function.json) bindings.
6161

62-
:::code language="python" source="~/azure-search-python-samples/search-website/api/Suggest/__init__.py" highlight="8-23, 35" :::
62+
:::code language="python" source="~/azure-search-python-samples/search-website/api/Suggest/__init__.py" highlight="8-24, 36" :::
6363

6464
## Client: Suggestions from the catalog
6565

0 commit comments

Comments
 (0)