Skip to content

Commit 0fdb6d4

Browse files
Merge pull request #4233 from MicrosoftDocs/main
Merged by Learn.Build PR Management system
2 parents 57a614f + f38629c commit 0fdb6d4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ The search suggester, `sg`, is defined in the [schema file](https://github.com/A
4444

4545
## Client: Search from the catalog
4646

47-
Call the Azure Function in the React client with the following code.
47+
Call the Azure Function in the React client at `\client\src\pages\Search\Search.jsx` with the following code to search for books.
4848

49-
:::code language="csharp" source="~/azure-search-static-web-app/client/src/pages/Search/Search.js" :::
49+
:::code language="csharp" source="~/azure-search-static-web-app/client/src/pages/Search/Search.jsx" :::
5050

5151
## Client: Suggestions from the catalog
5252

53-
The Suggest function API is called in the React app at `\client\src\components\SearchBar\SearchBar.js` as part of the [Material UI's Autocomplete component](https://mui.com/material-ui/react-autocomplete/). This component uses the input text to search for authors and books that match the input text then displays those possible matches at selectable items in the drop-down list.
53+
The Suggest function API is called in the React app at `\client\src\components\SearchBar\SearchBar.jsx` as part of the [Material UI's Autocomplete component](https://mui.com/material-ui/react-autocomplete/). This component uses the input text to search for authors and books that match the input text then displays those possible matches at selectable items in the drop-down list.
5454

55-
:::code language="csharp" source="~/azure-search-static-web-app/client/src/components/SearchBar/SearchBar.js" :::
55+
:::code language="csharp" source="~/azure-search-static-web-app/client/src/components/SearchBar/SearchBar.jsx" :::
5656

5757
## Azure Function: Get specific document
5858

@@ -62,9 +62,9 @@ The [Document Lookup API](https://github.com/Azure-Samples/azure-search-static-w
6262

6363
## Client: Get specific document
6464

65-
This function API is called in the React app at `\client\src\pages\Details\Detail.js` as part of component initialization:
65+
This function API is called in the React app at `\client\src\pages\Details\Details.jsx` as part of component initialization:
6666

67-
:::code language="csharp" source="~/azure-search-static-web-app/client/src/pages/Details/Details.js" :::
67+
:::code language="csharp" source="~/azure-search-static-web-app/client/src/pages/Details/Details.jsx" :::
6868

6969
## C# models to support function app
7070

0 commit comments

Comments
 (0)