-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed as not planned
Closed as not planned
Copy link
Labels
Stalearea/data-lossIssues related to loss of data.Issues related to loss of data.area/indexesRelated to indexes (indices) and their usage.Related to indexes (indices) and their usage.area/querylang/filterRelated to the filter directive.Related to the filter directive.dgraphIssue or PR created by an internal Dgraph contributor.Issue or PR created by an internal Dgraph contributor.investigateRequires further investigationRequires further investigationkind/bugSomething is broken.Something is broken.status/acceptedWe accept to investigate/work on it.We accept to investigate/work on it.
Description
What version of Dgraph are you using?
Dgraph version : v2.0.0-rc1-452-g5c75240a3
Dgraph SHA-256 : c3fa23e3909376d2b5e567cbe963a81132c9c83e7e40b4051d56cba8105dece2
Commit SHA-1 : 5c75240
Commit timestamp : 2020-07-02 11:02:02 -0700
Branch : master
Go version : go1.14
Have you tried reproducing the issue with the latest release?
Yes
What is the hardware spec (RAM, OS)?
RAM: 16gig
OS: Linux/Ubuntu
Model name: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
Steps to reproduce the issue (command/config used to run Dgraph).
Schema:
name: string @index(term, trigram) .
Data:
{
set {
_:a <name> "Foo Edit" .
_:a <dgraph.type> "User" .
_:b <name> "Foo Edit1" .
_:b <dgraph.type> "User" .
_:c <name> "Ba" .
_:c <dgraph.type> "User" .
_:d <name> "Bar" .
_:d <dgraph.type> "User" .
_:e <name> "Barry" .
_:e <dgraph.type> "User" .
}
}
Query:
{
q (func: type("User")) @filter(anyofterms(name, "foo") OR match(name, "ba", 5)) {
name
}
}
Expected behavior and actual result.
Expected results: All 5 nodes
Actual results: nodes for (“Ba”, “Bar”, “Barry”)
Metadata
Metadata
Assignees
Labels
Stalearea/data-lossIssues related to loss of data.Issues related to loss of data.area/indexesRelated to indexes (indices) and their usage.Related to indexes (indices) and their usage.area/querylang/filterRelated to the filter directive.Related to the filter directive.dgraphIssue or PR created by an internal Dgraph contributor.Issue or PR created by an internal Dgraph contributor.investigateRequires further investigationRequires further investigationkind/bugSomething is broken.Something is broken.status/acceptedWe accept to investigate/work on it.We accept to investigate/work on it.