dgraph icon indicating copy to clipboard operation
dgraph copied to clipboard

fix tutorial

Open liguoqinjim opened this issue 4 years ago • 2 comments

fix tutorial-3 two typo in branch relaase/v1.2.2.

And The question why I only change one picture is that when I did the tutorial.

{
  authors_and_ratings(func: ge(rating, 4.0)) {
    author_name
    rating

    published @filter(lt(dislikes, 10)) {
      title
      likes
      dislikes
      tagged {
        tag_name
      }
    }
  }
}

I found only the rating predicate need a index.I didn't add index for dislikes.The query still work. image image

I have test for several times,and I also start a new docker container to run the test.The result is same.So whether the dislike predicate need a index when use filter query?


This change is Reviewable

Docs Preview: Dgraph Preview

liguoqinjim avatar Mar 28 '20 16:03 liguoqinjim

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Mar 28 '20 16:03 CLAassistant

@martinmr Ok.I understood.And I revert the change to image.😀

liguoqinjim avatar Mar 31 '20 02:03 liguoqinjim

Dgraph Documentation Has Moved! Please open a new PR at https://github.com/dgraph-io/dgraph-docs

MichelDiz avatar Sep 14 '22 23:09 MichelDiz