What all can I extract about a dataset using graph...
# getting-started
g
What all can I extract about a dataset using graphql queries I just got started query Queryname($urn: String!){dataset(urn: $urn){urn}} Apart from urn what all can I extract And can anyone guide me where can I learn more about these queries
l
here are the docs for the
search
query. And here is an example query
r
The documentation includes more information about each object, for example the dataset object has additional documentation found here: https://datahubproject.io/docs/graphql/objects/#dataset
g
Do we have embedding based search in acryl? Or is it full text based ?
r
Fulltext only, embedding based search could be added using OpenSearch 2.x I believe. Elasticsearch 7 is the latest supported version of Elasticsearch's distro and I believe there are required features in ES8
g
Can we get a match score or some similar score along with search results
@gentle-night-56466 can we integrate ES or OpenSearch with acryl so that it syncs entire metadata with search engine ?
Also I wanted help with "and" and "or" filter, would appreciate if a sample / dummy query can be shared
r
Yes, the search results could return the elasticsearch scores. Happy to get a PR to include that information in any of the APIs for search. The ES search indexes are a subset of the full data model in elasticsearch based on the pegasus data model @Searchable annotations. There is a lot of data on an entity which is not useful for search and increases the index sizes. For the advanced search queries see this doc