There’s multi value for <plays>
so the schema of <plays> should be a list.
plays [string] .
It’s ture I can filter the node or property with facets like the example in the Blog above.
The problem is I can not query the facets value if there the property’s schema is a list.
Thanks for your reply,
In the example of the releasing blog
Dizzy can play multi instruments, so <plays> should be a list of string.
otherwise when mutation
with dgraph v1.1.1
I can do filter with the facets and get the right result, so I think this means the factes we set were stored correctly,
BUT is there a way I can get the value facts in a query?
{
q(func: has(name)) {
name
plays @facets(lt(since, 2030))
}
}
I’m processing with data just like Dizzy,there maybe multi value in a list of property. It’s a useful way for me to store facets for each value.
Is there a chance we can get this feature in the future?
This is a false flag. Some bug let you get the values using the facet syntax. But [lists] can’t have facets until the PR #4267 is merged.
Yes, just wait for the PR to get merged. There are some reviews to be done.
About the Blog post. I’m not sure why it was announced there, this feature. Maybe it was supposed to mean that in “early future” you’ll be able to do it.
I already asked why it was posted like that. But I think it was a misunderstanding.
Thanks for you help!
This is a convience way to process data have multi values, but I saw the PR wasn’t being process for a long time, will this be fixed soon?