-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed as not planned
Labels
Stalearea/facetsIssues related to face handling, querying, etc.Issues related to face handling, querying, etc.area/querylangIssues related to the query language specification and implementation.Issues related to the query language specification and implementation.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.kind/enhancementSomething could be better.Something could be better.priority/P2Somehow important but would not block a release.Somehow important but would not block a release.status/acceptedWe accept to investigate/work on it.We accept to investigate/work on it.
Milestone
Description
What you wanted to do
I tried beef up the queries for facets to add in the documentation. Especially for fulltext.
https://dgraph.io/docs/query-language/facets/#filtering-on-facets
What you actually did
Tested alloftext, anyoftext, regexp, ie, has, allofterms, anyofterms, le, lt, ge, gt, eq, AND, OR and NOT
one by one and got the following results.
alloftext => : Fn alloftext not supported in preprocessFilter.
anyoftext => : Fn anyoftext not supported in preprocessFilter.
regexp => : One argument expected in regexp, but got 2.
has => : One argument expected in has, but got 0. (added this test just in case)
what works:
allofterms, anyofterms, le, lt, ge, gt, eq, AND, OR and NOT
Some of the functions are still been discussed if are valid or not for supporting.
Issif, manojlds, sams96 and noandrea
Metadata
Metadata
Assignees
Labels
Stalearea/facetsIssues related to face handling, querying, etc.Issues related to face handling, querying, etc.area/querylangIssues related to the query language specification and implementation.Issues related to the query language specification and implementation.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.kind/enhancementSomething could be better.Something could be better.priority/P2Somehow important but would not block a release.Somehow important but would not block a release.status/acceptedWe accept to investigate/work on it.We accept to investigate/work on it.