Command Reference > search > suggest
Get search suggestions by query criteria.
pv search suggest [--keywords=<val> --limit=<val> --filterFile=<val>]
None
--keywords
(string)
The keywords applied to all fields that support suggest operation. It must be at least 1 character, and no more than 100 characters.
--limit
(integer)
The number of suggestions we hope to return. The default value is 5. The value must be a number between 1 and 100.
--filterFile
(string)
The filter for the search.
Catalog Data Plane > Discovery > Suggest
POST https://{accountName}.purview.azure.com/catalog/api/search/suggest
Search suggestions by keywords.
pv search suggest --keywords "Sta"
Sample response.
{
"value": [
{
"@search.score": 5.925384,
"@search.text": "Growth <em>Stage</em> of Company",
"assetType": null,
"classification": [],
"collectionId": null,
"description": null,
"entityType": "AtlasGlossaryTerm",
"id": "39cd231f-9571-4dee-afff-5c2841938945",
"label": [],
"name": "Growth Stage of Company",
"owner": null,
"qualifiedName": "General_Growth Stage of Company@Glossary",
"term": []
}
]
}