dgraph icon indicating copy to clipboard operation
dgraph copied to clipboard

We should throw error if attribute is not indexed

Open janardhan1993 opened this issue 9 years ago • 1 comments

The following query uses index to do filtering. If name is not indexed we return empty results even though data is present. { me(id: m.06pj8) { name@en director.film @filter(allof(name, "jones indiana")) { name@en } } }

We should throw error in this case if name is not indexed

janardhan1993 avatar Mar 20 '17 09:03 janardhan1993

Now we throw error if we try to use index and it's not present.

janardhan1993 avatar Mar 21 '17 07:03 janardhan1993