Skip to content

Commit 451a5dc

Browse files
committed
Revised suggestions API description per Dina
1 parent 407a27e commit 451a5dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@ The search suggester, `sg`, is defined in the [schema file](https://github.com/A
5656
5757
:::code language="csharp" source="~/azure-search-static-web-app/api/Suggest.cs" :::
5858
-->
59+
5960
## Client: Suggestions from the catalog
6061

61-
The Suggest function API is called in the React app at `\client\src\components\SearchBar\SearchBar.js` as part of component initialization:
62+
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.
6263

6364
:::code language="csharp" source="~/azure-search-static-web-app/client/src/components/SearchBar/SearchBar.js" :::
6465

0 commit comments

Comments
 (0)