Skip to content

Commit 94fd065

Browse files
include:: (devguide) fixes
1 parent 9e47c41 commit 94fd065

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

modules/concept-docs/pages/n1ql-query.adoc

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The maximum client-side query cache size is 5000 entries.
1717

1818
[source,java]
1919
----
20-
include::example$N1qlQueryExample.java[tag=n1ql_query_1,indent=0]
20+
include::devguide:example$java/N1qlQueryExample.java[tag=n1ql_query_1,indent=0]
2121
----
2222

2323

@@ -65,7 +65,7 @@ You can also create and define indexes in the SDK using:
6565

6666
[source,java]
6767
----
68-
include::example$N1qlQueryExample.java[tag=n1ql_query_2,indent=0]
68+
include::devguide:example$java/N1qlQueryExample.java[tag=n1ql_query_2,indent=0]
6969
----
7070

7171

@@ -91,7 +91,7 @@ Building deferred indexes can also be done via the SDK:
9191

9292
[source,java]
9393
----
94-
include::example$N1qlQueryExample.java[tag=n1ql_query_3,indent=0]
94+
include::devguide:example$java/N1qlQueryExample.java[tag=n1ql_query_3,indent=0]
9595
----
9696

9797

@@ -106,7 +106,7 @@ Consider the following snippet:
106106

107107
[source,java]
108108
----
109-
include::example$N1qlQueryExample.java[tag=n1ql_query_4,indent=0]
109+
include::devguide:example$java/N1qlQueryExample.java[tag=n1ql_query_4,indent=0]
110110
----
111111

112112
The above query may not return the newly inserted document because it has not yet been indexed.
@@ -116,12 +116,13 @@ If the above code is modified to use _REQUEST_PLUS_, query processing will wait
116116

117117
[source,java]
118118
----
119-
include::example$N1qlQueryExample.java[tag=n1ql_query_5,indent=0]
119+
include::devguide:example$java/N1qlQueryExample.java[tag=n1ql_query_5,indent=0]
120120
----
121121

122122
This gives the application developer more control over the balance between performance (latency) and consistency,
123123
and allows optimization on a case-by-case basis.
124124

125+
125126
== Collections and Scopes, and the Query Context
126127

127128
From Couchbase Server release 7.0 the xref:7.1@server:learn:data/scopes-and-collections.adoc[Collections] feature lets you logically group similar documents into Collections.
@@ -142,5 +143,5 @@ For example, from the context of `{backtick}travel-sample{backtick}.inventory`,
142143
SELECT * FROM airline;
143144
----
144145

145-
To do this, you can xref:7.1@server:tools:query-workbench.adoc#query-context[Set a Query Context] in the Query Workbench
146-
or xref:howtos:n1ql-queries-with-sdk.adoc#querying-at-scope-level[query at scope level] using the SDK.
146+
To do this, you can xref:server:tools:query-workbench.adoc#query-context[Set a Query Context] in the Query Workbench
147+
or xref:howtos:sqlpp-queries-with-sdk.adoc#querying-at-scope-level[query at scope level] using the SDK.

0 commit comments

Comments
 (0)