Umesh Padashetty created ATLAS-4156:
---------------------------------------
Summary: aggregationMetrics is missing in quick_search GET/POST
API when “typeName”: “_ALL_ENTITY_TYPES”
Key: ATLAS-4156
URL: https://issues.apache.org/jira/browse/ATLAS-4156
Project: Atlas
Issue Type: Bug
Components: atlas-core
Reporter: Umesh Padashetty
curl
{code:java}
curl --location --request POST 'https://host:port/api/atlas/v2/search/quick'
\--header 'Content-Type: application/json' \--header 'X-XSRF-HEADER: ""'
\--header 'Authorization: Basic aHJ0X3FhOlBhc3N3b3JkQDEyMw==' \--header
'Cookie: ATLASSESSIONID=node012fu7y9lgt9ad1wli0q8s5v5yo70333.node0' \--data-raw
'{ "excludeDeletedEntities": false, "includeSubClassifications":
true, "includeSubTypes": true, "tagFilters": null,
"attributes": [], "query": "*mrugd", "typeName":
"_ALL_ENTITY_TYPES", "entityFilters": { "condition":
"OR", "criterion": [] }, "classification": null,
"childClassification": null, "limit": 100, "offset": 0}'
{code}
aggregation_metrics returned is
{code:java}
"aggregationMetrics": {
"__typeName": [],
"__state": [],
"Asset.owner": []
} {code}
currently "_ALL_ENTITY_TYPES" is not handled in freetextsearch. Hence this is
the reason why aggregationMetrics is missing.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)