Filter is ignored on value predicates #4399
Labels
area/documentation
Documentation related issues.
area/querylang/filter
Related to the filter directive.
area/schema
Issues related to the schema language and capabilities.
kind/question
Something requiring a response.
priority/P1
Serious issue that requires eventual attention (can wait a bit)
status/accepted
We accept to investigate/work on it.
What version of Dgraph are you using?
master
Have you tried reproducing the issue with the latest release?
yes
What is the hardware spec (RAM, OS)?
n/a
Steps to reproduce the issue (command/config used to run Dgraph).
Create a new dataset with the following schema:
and send the following mutation to have some data
Expected behaviour and actual result.
When you run the following query, you'll fetch both values:
result:
If I filter by value, I should be able to get only the one with value "One".
Unfortunately, this will return both values.
What to do?
We should either fix this issue, or make it clear these filters are not supported.
I argue we should support them, as we already do for filters facets for value predicates (#4034)
The text was updated successfully, but these errors were encountered: