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
1. In Visual Studio Code, open your local folder of the cloned repository. The remaining tasks are accomplished from Visual Studio Code, unless specified.
Copy file name to clipboardExpand all lines: articles/search/tutorial-python-search-query-integration.md
+5-11Lines changed: 5 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ ms.devlang: python
17
17
In the previous lessons, you added search to a Static Web App. This lesson highlights the essential steps that establish integration. If you're looking for a cheat sheet on how to integrate search into your Python app, this article explains what you need to know.
@@ -37,9 +37,7 @@ The Azure Function app settings environment variables are pulled in from a file,
37
37
38
38
## Azure Function: Search the catalog
39
39
40
-
The Search [API](https://github.com/Azure-Samples/azure-search-python-samples/blob/master/search-website-functions-v4/api/search.py) takes a search term and searches across the documents in the Search Index, returning a list of matches.
41
-
42
-
Routing for the Search API is contained in the [function.json](https://github.com/Azure-Samples/azure-search-python-samples/blob/master/search-website-functions-v4/api/Search/function.json) bindings.
40
+
The Search [API](https://github.com/Azure-Samples/azure-search-python-samples/blob/main/search-website-functions-v4/api/search.py) takes a search term and searches across the documents in the Search Index, returning a list of matches.
43
41
44
42
The Azure Function pulls in the search configuration information, and fulfills the query.
45
43
@@ -53,11 +51,9 @@ Call the Azure Function in the React client with the following code.
53
51
54
52
## Azure Function: Suggestions from the catalog
55
53
56
-
The `Suggest`[API](https://github.com/Azure-Samples/azure-search-python-samples/blob/master/search-website-functions-v4/api/suggest.py) takes a search term while a user is typing and suggests search terms such as book titles and authors across the documents in the search index, returning a small list of matches.
57
-
58
-
The search suggester, `sg`, is defined in the [schema file](https://github.com/Azure-Samples/azure-search-python-samples/blob/master/search-website-functions-v4/bulk-upload/good-books-index.json) used during bulk upload.
54
+
The `Suggest`[API](https://github.com/Azure-Samples/azure-search-python-samples/blob/main/search-website-functions-v4/api/suggest.py) takes a search term while a user is typing and suggests search terms such as book titles and authors across the documents in the search index, returning a small list of matches.
59
55
60
-
Routing for the Suggest API is contained in the [function.json](https://github.com/Azure-Samples/azure-search-python-samples/blob/master/search-website-functions-v4/api/Suggest/function.json)bindings.
56
+
The search suggester, `sg`, is defined in the [schema file](https://github.com/Azure-Samples/azure-search-python-samples/blob/main/search-website-functions-v4/bulk-upload/good-books-index.json)used during bulk upload.
@@ -69,9 +65,7 @@ The Suggest function API is called in the React app at `client\src\components\Se
69
65
70
66
## Azure Function: Get specific document
71
67
72
-
The `Lookup`[API](https://github.com/Azure-Samples/azure-search-python-samples/blob/master/search-website-functions-v4/api/lookup.py) takes an ID and returns the document object from the Search Index.
73
-
74
-
Routing for the Lookup API is contained in the [function.json](https://github.com/Azure-Samples/azure-search-python-samples/blob/master/search-website-functions-v4/api/Lookup/function.json) bindings.
68
+
The `Lookup`[API](https://github.com/Azure-Samples/azure-search-python-samples/blob/main/search-website-functions-v4/api/lookup.py) takes an ID and returns the document object from the Search Index.
0 commit comments