Forum Discussion
gouletf
Feb 15, 2023Copper Contributor
Obtain search facet results for managed attributes
Hello, Using the catalog api, is there a way to query and obtain search facet results for a particular managed attribute (businessAttributes in the api specs) ? My query is similar to this o...
AlejandroPinon
Mar 03, 2023Copper Contributor
Hello,
I achieved it by using the filter in this way:
{
"attributeName": "<ManagedAttributeGroupName>.<ManagedAttributeName>",
"operator": "eq",
"attributeValue": "<value>"
}
Further info:
https://learn.microsoft.com/en-us/rest/api/purview/catalogdataplane/discovery/query?tabs=HTTP#discovery_query_businessmetadataattribute
gouletf
Mar 06, 2023Copper Contributor
Hello Alejandro,
This will only filter the Array of SearchResultValue. I need to have managed attributes in the search_facets?: SearchFacetResultValue of SearcResult. Thanks anyway.
This will only filter the Array of SearchResultValue. I need to have managed attributes in the search_facets?: SearchFacetResultValue of SearcResult. Thanks anyway.