@@ -22,7 +22,7 @@ From the menu:Couchbase Web Console[Buckets] menu, click the menu:Statistics[] l
22
22
23
23
.Here is some {sqlpp}
24
24
====
25
- [source ,sqlpp]
25
+ [,sqlpp]
26
26
----
27
27
SELECT * FROM `travel-sample` WHERE type = "airline" LIMIT 1;
28
28
CREATE PRIMARY INDEX ON `users` WITH {"defer_build": true};
@@ -32,7 +32,7 @@ BUILD INDEX ON `users`(`#primary`, `ix_name`, `ix_email`);
32
32
33
33
.Here is some W3 Extended Backus-Naur Format
34
34
====
35
- [source ,ebnf]
35
+ [,ebnf]
36
36
----
37
37
index-pair ::= '"' 'indexes' '"' ':' ( 'null'
38
38
| '"' index '"'
@@ -60,7 +60,7 @@ Then click the image:arrow-small-down.svg[,16,role=icon]image:arrow-small-up.svg
60
60
61
61
This section demonstrates the interactive, try it now feature of the docs.
62
62
63
- [source .try-it,ruby]
63
+ [.try-it,ruby]
64
64
----
65
65
require 'couchbase'
66
66
@@ -79,7 +79,7 @@ rescue Couchbase::Error::DocumentNotFound
79
79
end
80
80
----
81
81
82
- [source .try-it,java]
82
+ [.try-it,java]
83
83
----
84
84
import com.couchbase.client.core.error.DocumentNotFoundException;
85
85
import com.couchbase.client.java.*;
@@ -362,19 +362,19 @@ With the stream-based views, data returned when `stale` is set to `ok` is closer
362
362
The *Server Resources* statistics section displays the resource information on this server including swap usage, free RAM, CPU utilization percentage,and FTS RAM used.
363
363
364
364
.A query using the fluent API (lines are forced to wrap)
365
- [source ,java]
365
+ [,java]
366
366
----
367
367
[data-source-url=https://github.com/couchbase/docs-sdk-java/blob/20c44c9e7ca86ea475b7aa33c58d5670aa7c4495/modules/ROOT/pages/n1ql-queries-with-sdk.adoc#L53-L58]
368
- Statement statement = select("fname", "lname", "age").from(i("default")).where(x("age").gt(x("$age"))); // <1 >
368
+ Statement statement = select("fname", "lname", "age").from(i("default")).where(x("age").gt(x("$age"))); // <. >
369
369
JsonObject placeholderValues = JsonObject.create().put("age", 22);
370
- q = N1qlQuery.parameterized(statement, placeholderValues); // <2 >
371
- for (N1qlQueryRow row : bkt.query(q)) { // <3 >
370
+ q = N1qlQuery.parameterized(statement, placeholderValues); // <. >
371
+ for (N1qlQueryRow row : bkt.query(q)) { // <. >
372
372
System.out.println(row);
373
373
}
374
374
----
375
- <1 > Defines the query.
376
- <2 > Inserts placeholder values into the query.
377
- <3 > Runs the query.
375
+ <. > Defines the query.
376
+ <. > Inserts placeholder values into the query.
377
+ <. > Runs the query.
378
378
379
379
[#vbucket-stats]
380
380
== Monitoring `vBucket` Resources
@@ -501,7 +501,7 @@ POST http://nodename:8091/settings/viewUpdateDaemon
501
501
updateInterval=10000&updateMinChanges=7000
502
502
----
503
503
504
- [source,json5, role=" no-callouts" ]
504
+ [. no-callouts,json5 ]
505
505
----
506
506
{
507
507
"_id": "_design/myddoc",
@@ -521,7 +521,7 @@ updateInterval=10000&updateMinChanges=7000
521
521
You can set this information when creating and updating design documents through the design document REST API.
522
522
To perform this operation using the `curl` tool:
523
523
524
- [source ,console]
524
+ [,console]
525
525
----
526
526
$ curl -X POST -v -d 'updateInterval=7000&updateMinChanges=7000' \
527
527
'http://Administrator:[email protected] :8091/settings/viewUpdateDaemon'
@@ -539,7 +539,7 @@ Issues resolved in this release:
539
539
* https://issues.couchbase.com/browse/KAFKAC-82[KAFKAC-82]: [FEATURE] Implement log redaction for Kafka Connector
540
540
* https://issues.couchbase.com/browse/KAFKAC-90[KAFKAC-90]: [FEATURE] Source: Add config settings to enable compression
541
541
542
- [source ,xml]
542
+ [,xml]
543
543
----
544
544
<dependency>
545
545
<groupId>com.couchbase.client</groupId>
0 commit comments