What is wrong with this query . Am trying to search for glossary terms
query getSearchResultsForMultiple(
input : { types: [ “GLOSSARY_TERMS”] query: “name”
} )
{
searchResults {
entity {
urn
type
}
}
}
Hey there! Make sure your message includes the following information if relevant, so we can help more effectively!
- Which DataHub version are you using? (e.g. 0.12.0)
- Please post any relevant error logs on the thread!
0.12.0
searchAcrossEntities(input: {types: [GLOSSARY_TERM], query: "name"}) {
searchResults {
entity {
urn
type
}
}
}
}```
thanks sudhakara! looks like the biggest problem was an incorrect type for GLOSSARY_TERM
and needing to wrap the whole thing in query braces