Skip to content

Commit ba5f52e

Browse files
committed
Hugo rebuild all branches
1 parent ae447cc commit ba5f52e

File tree

612 files changed

+71384
-3958
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

612 files changed

+71384
-3958
lines changed

published/aggregation/1/index.html

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,10 @@
8585
</option>
8686

8787
<option
88-
value="1.2.1"
89-
90-
selected="selected"
88+
value="1.0.16"
9189

9290
>
93-
Dgraph 1.2.1
91+
Dgraph 1.0.16
9492
</option>
9593

9694
<option
@@ -101,10 +99,19 @@
10199
</option>
102100

103101
<option
104-
value="1.0.16"
102+
value="1.2.1"
105103

106104
>
107-
Dgraph 1.0.16
105+
Dgraph 1.2.1
106+
</option>
107+
108+
<option
109+
value="20.03.0"
110+
111+
selected="selected"
112+
113+
>
114+
Dgraph 20.03.0
108115
</option>
109116

110117
</select>
@@ -118,8 +125,8 @@
118125

119126
<script>
120127
window.DgTour = {
121-
thisRelease: "1.2.1",
122-
latestRelease: "1.2.1",
128+
thisRelease: "20.03.0",
129+
latestRelease: "20.03.0",
123130
home: "https:\/\/tour.dgraph.io\/"
124131
}
125132
</script>
@@ -565,8 +572,8 @@ <h1 class="lesson-heading">A bigger dataset</h1>
565572
<div>
566573
<p>Ok, we are off to a start with Dgraph and GraphQL+-. Let’s move it up
567574
a few notches.</p>
568-
<p>Dgraph can also do query aggregation, geo-queries, string querying and more. But for all that let's move from the small datasets we started with and try out something bigger, much bigger.</p>
569-
<p>In our github repository you'll find a <a href="https://github.com/dgraph-io/benchmarks/blob/master/data/goldendata.rdf.gz">dataset about movies, directors
575+
<p>Dgraph can also do query aggregation, geo-queries, string querying and more. But for all that let&rsquo;s move from the small datasets we started with and try out something bigger, much bigger.</p>
576+
<p>In our github repository you&rsquo;ll find a <a href="https://github.com/dgraph-io/benchmarks/blob/master/data/goldendata.rdf.gz">dataset about movies, directors
570577
and actors</a>.</p>
571578
<p>Download it from that link or with something like</p>
572579
<pre><code>wget &quot;https://github.com/dgraph-io/benchmarks/blob/master/data/goldendata.rdf.gz?raw=true&quot; -O goldendata.rdf.gz -q
@@ -575,11 +582,11 @@ <h1 class="lesson-heading">A bigger dataset</h1>
575582
</code></pre><p>Dgraph reports back exactly how many triples were loaded and how long
576583
it took. There are around ??? movies and ???
577584
actors are described in the dataset.</p>
578-
<p>It's a big database of moves, but it won’t trouble Dgraph. It is, however, big enough to
585+
<p>It&rsquo;s a big database of moves, but it won’t trouble Dgraph. It is, however, big enough to
579586
use for more complex queries.</p>
580587
<p>Later in the tutorial, you might need to refer back to this page (or
581588
issue a <a href="https://tour.dgraph.io/basic/3">schema query</a>) to check the indexes or schema types. Remember that
582-
we can't apply functions to edges that aren't indexed, and some
589+
we can&rsquo;t apply functions to edges that aren&rsquo;t indexed, and some
583590
functions require particular indexes.</p>
584591

585592
</div>

published/aggregation/2/index.html

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,10 @@
8585
</option>
8686

8787
<option
88-
value="1.2.1"
89-
90-
selected="selected"
88+
value="1.0.16"
9189

9290
>
93-
Dgraph 1.2.1
91+
Dgraph 1.0.16
9492
</option>
9593

9694
<option
@@ -101,10 +99,19 @@
10199
</option>
102100

103101
<option
104-
value="1.0.16"
102+
value="1.2.1"
105103

106104
>
107-
Dgraph 1.0.16
105+
Dgraph 1.2.1
106+
</option>
107+
108+
<option
109+
value="20.03.0"
110+
111+
selected="selected"
112+
113+
>
114+
Dgraph 20.03.0
108115
</option>
109116

110117
</select>
@@ -118,8 +125,8 @@
118125

119126
<script>
120127
window.DgTour = {
121-
thisRelease: "1.2.1",
122-
latestRelease: "1.2.1",
128+
thisRelease: "20.03.0",
129+
latestRelease: "20.03.0",
123130
home: "https:\/\/tour.dgraph.io\/"
124131
}
125132
</script>
@@ -565,7 +572,7 @@ <h1 class="lesson-heading">Min and Max</h1>
565572
<div>
566573
<p>The <code>min</code> and <code>max</code> aggreation functions can be used on all scalar
567574
types. That is: <code>int</code>, <code>float</code>, <code>string</code>, <code>bool</code>, <code>id</code> and <code>date</code>.</p>
568-
<p>Agregations don't require an index, but can only be applied to variables</p>
575+
<p>Agregations don&rsquo;t require an index, but can only be applied to variables</p>
569576

570577
</div>
571578
</div>

published/aggregation/index.html

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,10 @@
8181
</option>
8282

8383
<option
84-
value="1.2.1"
85-
86-
selected="selected"
84+
value="1.0.16"
8785

8886
>
89-
Dgraph 1.2.1
87+
Dgraph 1.0.16
9088
</option>
9189

9290
<option
@@ -97,10 +95,19 @@
9795
</option>
9896

9997
<option
100-
value="1.0.16"
98+
value="1.2.1"
10199

102100
>
103-
Dgraph 1.0.16
101+
Dgraph 1.2.1
102+
</option>
103+
104+
<option
105+
value="20.03.0"
106+
107+
selected="selected"
108+
109+
>
110+
Dgraph 20.03.0
104111
</option>
105112

106113
</select>
@@ -114,8 +121,8 @@
114121

115122
<script>
116123
window.DgTour = {
117-
thisRelease: "1.2.1",
118-
latestRelease: "1.2.1",
124+
thisRelease: "20.03.0",
125+
latestRelease: "20.03.0",
119126
home: "https:\/\/tour.dgraph.io\/"
120127
}
121128
</script>

published/aggregation/index.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
<guid>https://tour.dgraph.io/aggregation/1/</guid>
2020
<description>Ok, we are off to a start with Dgraph and GraphQL+-. Let’s move it up a few notches.
21-
Dgraph can also do query aggregation, geo-queries, string querying and more. But for all that let&#39;s move from the small datasets we started with and try out something bigger, much bigger.
22-
In our github repository you&#39;ll find a dataset about movies, directors and actors.
21+
Dgraph can also do query aggregation, geo-queries, string querying and more. But for all that let&amp;rsquo;s move from the small datasets we started with and try out something bigger, much bigger.
22+
In our github repository you&amp;rsquo;ll find a dataset about movies, directors and actors.
2323
Download it from that link or with something like</description>
2424
</item>
2525

@@ -30,7 +30,7 @@ Download it from that link or with something like</description>
3030

3131
<guid>https://tour.dgraph.io/aggregation/2/</guid>
3232
<description>The min and max aggreation functions can be used on all scalar types. That is: int, float, string, bool, id and date.
33-
Agregations don&#39;t require an index, but can only be applied to variables</description>
33+
Agregations don&amp;rsquo;t require an index, but can only be applied to variables</description>
3434
</item>
3535

3636
</channel>

published/basic/1/index.html

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,10 @@
8585
</option>
8686

8787
<option
88-
value="1.2.1"
89-
90-
selected="selected"
88+
value="1.0.16"
9189

9290
>
93-
Dgraph 1.2.1
91+
Dgraph 1.0.16
9492
</option>
9593

9694
<option
@@ -101,10 +99,19 @@
10199
</option>
102100

103101
<option
104-
value="1.0.16"
102+
value="1.2.1"
105103

106104
>
107-
Dgraph 1.0.16
105+
Dgraph 1.2.1
106+
</option>
107+
108+
<option
109+
value="20.03.0"
110+
111+
selected="selected"
112+
113+
>
114+
Dgraph 20.03.0
108115
</option>
109116

110117
</select>
@@ -118,8 +125,8 @@
118125

119126
<script>
120127
window.DgTour = {
121-
thisRelease: "1.2.1",
122-
latestRelease: "1.2.1",
128+
thisRelease: "20.03.0",
129+
latestRelease: "20.03.0",
123130
home: "https:\/\/tour.dgraph.io\/"
124131
}
125132
</script>
@@ -573,9 +580,9 @@ <h1 class="lesson-heading">Hello World</h1>
573580

574581
<p>Let’s have a look at a hello world query in GraphQL+-.</p>
575582
<p>Every query has a name, and the result is labelled with the same name.</p>
576-
<p>The search criteria <code>func: ...</code> matches nodes. Function <code>eq</code> does what you'd expect, matching nodes with a <code>name</code> equalling &ldquo;Michael&rdquo;. The result is the matched nodes
583+
<p>The search criteria <code>func: ...</code> matches nodes. Function <code>eq</code> does what you&rsquo;d expect, matching nodes with a <code>name</code> equalling &ldquo;Michael&rdquo;. The result is the matched nodes
577584
and listed outgoing edges from those nodes.</p>
578-
<p>Dgraph identifies each node with a unique internal id, its UID. A UID is not an edge, but can it be returned in a query with <code>uid</code>. If you already know a node's UID, it can be retrieved with <code>func: uid(&lt;uid-number&gt;)</code>.</p>
585+
<p>Dgraph identifies each node with a unique internal id, its UID. A UID is not an edge, but can it be returned in a query with <code>uid</code>. If you already know a node&rsquo;s UID, it can be retrieved with <code>func: uid(&lt;uid-number&gt;)</code>.</p>
579586
<p>Something to try : Change the query to select someone else.
580587
You can check the <a href="../../intro/4">sample data</a> again.</p>
581588

published/basic/10/index.html

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,10 @@
8585
</option>
8686

8787
<option
88-
value="1.2.1"
89-
90-
selected="selected"
88+
value="1.0.16"
9189

9290
>
93-
Dgraph 1.2.1
91+
Dgraph 1.0.16
9492
</option>
9593

9694
<option
@@ -101,10 +99,19 @@
10199
</option>
102100

103101
<option
104-
value="1.0.16"
102+
value="1.2.1"
105103

106104
>
107-
Dgraph 1.0.16
105+
Dgraph 1.2.1
106+
</option>
107+
108+
<option
109+
value="20.03.0"
110+
111+
selected="selected"
112+
113+
>
114+
Dgraph 20.03.0
108115
</option>
109116

110117
</select>
@@ -118,8 +125,8 @@
118125

119126
<script>
120127
window.DgTour = {
121-
thisRelease: "1.2.1",
122-
latestRelease: "1.2.1",
128+
thisRelease: "20.03.0",
129+
latestRelease: "20.03.0",
123130
home: "https:\/\/tour.dgraph.io\/"
124131
}
125132
</script>

published/basic/11/index.html

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,10 @@
8585
</option>
8686

8787
<option
88-
value="1.2.1"
89-
90-
selected="selected"
88+
value="1.0.16"
9189

9290
>
93-
Dgraph 1.2.1
91+
Dgraph 1.0.16
9492
</option>
9593

9694
<option
@@ -101,10 +99,19 @@
10199
</option>
102100

103101
<option
104-
value="1.0.16"
102+
value="1.2.1"
105103

106104
>
107-
Dgraph 1.0.16
105+
Dgraph 1.2.1
106+
</option>
107+
108+
<option
109+
value="20.03.0"
110+
111+
selected="selected"
112+
113+
>
114+
Dgraph 20.03.0
108115
</option>
109116

110117
</select>
@@ -118,8 +125,8 @@
118125

119126
<script>
120127
window.DgTour = {
121-
thisRelease: "1.2.1",
122-
latestRelease: "1.2.1",
128+
thisRelease: "20.03.0",
129+
latestRelease: "20.03.0",
123130
home: "https:\/\/tour.dgraph.io\/"
124131
}
125132
</script>
@@ -563,12 +570,12 @@
563570
<h1 class="lesson-heading">How Dgraph Search Works</h1>
564571

565572
<div>
566-
<p>Given what you've seen so far, you've probably already understood this, but it's worth going over.</p>
567-
<p>The graphs in Dgraph can be huge, so starting searching from all nodes isn't efficient. Dgraph needs a place to start searching, that's the root node.</p>
568-
<p>At root, we use <code>func:</code> and a function to find an initial set of nodes. So far we've used <code>eq</code> and <code>allofterms</code> for string search, but we can also search on other values like dates, numbers, and also filters on <code>count</code>.</p>
573+
<p>Given what you&rsquo;ve seen so far, you&rsquo;ve probably already understood this, but it&rsquo;s worth going over.</p>
574+
<p>The graphs in Dgraph can be huge, so starting searching from all nodes isn&rsquo;t efficient. Dgraph needs a place to start searching, that&rsquo;s the root node.</p>
575+
<p>At root, we use <code>func:</code> and a function to find an initial set of nodes. So far we&rsquo;ve used <code>eq</code> and <code>allofterms</code> for string search, but we can also search on other values like dates, numbers, and also filters on <code>count</code>.</p>
569576
<p>Dgraph needs to build an index on values that are to be searched in this way because, without an index to make the search efficient, Dgraph would have to trawl through the whole database to find matching values.</p>
570577
<p>From the set of nodes matched in the root filter, Dgraph then follows edges to satisfy the remainder of the query. The filters on blocks inside the root are only applied to the nodes reached by following listed edges to them.</p>
571-
<p>The root <code>func:</code> only accepts a single function and doesn't accept <code>AND</code>, <code>OR</code> and <code>NOT</code> connectives as in filters. So the syntax <code>query_name(func: foo(...)) @filter(... AND ...) {...}</code> is required when further filtering on the elements returned by the root function is required.</p>
578+
<p>The root <code>func:</code> only accepts a single function and doesn&rsquo;t accept <code>AND</code>, <code>OR</code> and <code>NOT</code> connectives as in filters. So the syntax <code>query_name(func: foo(...)) @filter(... AND ...) {...}</code> is required when further filtering on the elements returned by the root function is required.</p>
572579
<p>Something to try: Find all people who are in their 20s, and have at least 2 friends.
573580

574581
<div class="expandable">

0 commit comments

Comments
 (0)