Hi Guys! Is it possible via graphQL to search for...
# advice-metadata-modeling
a
Hi Guys! Is it possible via graphQL to search for all types of entities at once, with one request? (Datasets, Glossaries etc). For the context, this is an example I am using for searching for datasets: (I would like to extend this to all types)
Copy code
{
  search(input: {type: DATASET, query: "Accounting", start: 0, count: 200}) {
    start
    count
    total
    searchResults {
      entity {
        urn
        type
        ... on Dataset {
          name
          platform {
            name
          }
          properties {
            customProperties {
              key
            }
          }
        }
      }
    }
  }
}
Thank you in advance!
1
b
what you want is the
searchAcrossEntities
endpoint instead of
search
searchacrossentities is used by the search in the UI
a
Thanks @better-orange-49102!