Test for existence of facet on edge

wow @ahsan that’s some acrobatic semantics you pull off right there!

thanks @Naman and @ahsan for the proposed approaches, for the dateTime use case
my preferred solution is @facets(NOT gt(until, "0000-01-01T00:00:00Z")) since it is shorter and easy to chain with other predicates.

But probably for other data types the @Naman approach would be useful.

Any chances that Improve Facets functions. (not supported in preprocessFilter) · Issue #2896 · dgraph-io/dgraph · GitHub will be picked up during the adjustments of the facets reply format ?

3 Likes