OpenMetadata
OpenMetadata copied to clipboard
Glossary-term suggest api has fqdn same as name
Affected module Does it impact the UI, backend or Ingestion Framework? - backend (ES)
Describe the bug
In Suggestions api for glossary-term, fqdn is same as name field - it does not include parent-term or glossary name in fqdn
To Reproduce
Refer api response for http://localhost:8585/api/v1/search/suggest?q=sh&index=glossary_search_index
{
"suggest": {
"table-suggest": [
{
"text": "sh",
"offset": 0,
"length": 2,
"options": [
{
"text": "shirt",
"_index": "glossary_search_index",
"_type": "_doc",
"_id": "145546fe-6599-4eee-a4b6-8240cab5afa4",
"_score": 10,
"_source": {
"name": "shirt",
"fqdn": "shirt", `Look at the fqdn and name fields here`
"suggest": [
{
"input": "shirt",
"weight": 5
},
{
"input": "shirt",
"weight": 10
}
],
"description": "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).",
"tags": [],
"display_name": "shirt",
"entity_type": "glossaryTerm",
"last_updated_timestamp": 1646129922503,
"glossary_id": "443d704e-af97-4cc3-a38c-f7e4c3c765ce",
"glossary_name": "business glossary"
}
}
]
}
]
}
}
Expected behavior
fqdn should have value business glossary.clothing.shirt , where clothing is the parent glossary-term
Version:
- OS: [e.g. iOS]
- Python version:
- OpenMetadata version: [e.g. 0.8]
- OpenMetadata Ingestion package version: [e.g.
openmetadata-ingestion[docker]==XYZ]
Additional context None