You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/concept-docs/pages/compression.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ However, stable Snappy support is not yet available in .NET.
12
12
13
13
14
14
15
-
Couchbase Server (in the Enterprise Edition) stores documents in compressed form, xref:{version-server}@server:learn:buckets-memory-and-storage/compression.adoc#compression-modes[when it is enabled in the server for a particular bucket], using Snappy Compression.
15
+
Couchbase Server (in the Enterprise Edition) stores documents in compressed form, xref:7.0@server:learn:buckets-memory-and-storage/compression.adoc#compression-modes[when it is enabled in the server for a particular bucket], using Snappy Compression.
16
16
As the Snappy compression library is not available for .NET, the server will automatically uncompress any compressed documents before sending them to the .NET client.
17
17
18
18
If compression is set to _active_ on the server, documents will be stored there in compressed form, even though the .NET client has sent them uncompressed, thus saving storage space (but not network bandwidth).
IMPORTANT: If you are using the overloads that take `IDocument`, note that the `IDocument.Expiry` property assumes ms (milli-seconds), and is converted to seconds before being sent to the server.
127
127
All other overloads take a `TimeSpan` or an `uint`, and assume an expiry in seconds
128
128
A time of zero will set the document to never expire
129
-
(a negative number will set expiry to immediate -- creating a xref:{version-server}@server:learn:buckets-memory-and-storage/storage.adoc#tombstones[tombstone]).
129
+
(a negative number will set expiry to immediate -- creating a xref:7.0@server:learn:buckets-memory-and-storage/storage.adoc#tombstones[tombstone]).
130
130
Values above 0ms but below 1000ms are rounded up to one second before being sent to the server -- _if you are using .NET SDK 3.0.4 or later_.
Copy file name to clipboardExpand all lines: modules/concept-docs/pages/n1ql-query.adoc
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,15 +29,15 @@ var result = await cluster.QueryAsync<dynamic>(
29
29
);
30
30
----
31
31
32
-
CAUTION: *When running an application using Prepared Statements through the .NET SDK*-- if you plan to upgrade Couchbase Server from 6.0.x or earlier to 6.5.0 or later, and are running a version of the .NET SDK prior to xref:project-docs:sdk-release-notes.adoc#version-3-0-1-13-may-2020[3.0.1], you will need to xref:{version-server}@server:install:upgrade-strategy-for-features.adoc#prepared-statements[restart the app or otherwise work around] a change in the Server's behaviour.
32
+
CAUTION: *When running an application using Prepared Statements through the .NET SDK*-- if you plan to upgrade Couchbase Server from 6.0.x or earlier to 6.5.0 or later, and are running a version of the .NET SDK prior to xref:project-docs:sdk-release-notes.adoc#version-3-0-1-13-may-2020[3.0.1], you will need to xref:7.0@server:install:upgrade-strategy-for-features.adoc#prepared-statements[restart the app or otherwise work around] a change in the Server's behaviour.
33
33
34
34
35
35
== Indexes
36
36
37
-
The Couchbase query service makes use of xref:{version-server}@server:learn:services-and-indexes/indexes/indexes.adoc[_indexes_] in order to do its work.
37
+
The Couchbase query service makes use of xref:7.0@server:learn:services-and-indexes/indexes/indexes.adoc[_indexes_] in order to do its work.
38
38
Indexes replicate subsets of documents from data nodes over to index nodes,
39
39
allowing specific data (for example, specific document properties) to be retrieved quickly,
40
-
and to distribute load away from data nodes in xref:{version-server}@server:learn:services-and-indexes/services/services.adoc[MDS] topologies.
40
+
and to distribute load away from data nodes in xref:7.0@server:learn:services-and-indexes/services/services.adoc[MDS] topologies.
41
41
42
42
[IMPORTANT]
43
43
In order to make a bucket queryable, it must have at least one index defined.
@@ -82,7 +82,7 @@ Indexes help improve the performance of a query.
82
82
When an index includes the actual values of all the fields specified in the query,
83
83
the index _covers_ the query, and eliminates the need to fetch the actual values from the Data Service.
84
84
An index, in this case, is called a _covering index_, and the query is called a _covered_ query.
85
-
For more information, see xref:{version-server}@server:n1ql:n1ql-language-reference/covering-indexes.adoc[Covering Indexes].
85
+
For more information, see xref:7.0@server:n1ql:n1ql-language-reference/covering-indexes.adoc[Covering Indexes].
86
86
87
87
You can also create and define indexes in the SDK using:
As well as the .NET SDK (see below), and a running instance of Couchbase Server, you will need to load up the Travel Sample Bucket
48
-
using either the xref:{version-server}@server:manage:manage-settings/install-sample-buckets.adoc#install-sample-buckets-with-the-ui[Web interface]
49
-
or the xref:{version-server}@server:manage:manage-settings/install-sample-buckets.adoc#install-sample-buckets-with-the-cli[command line].
48
+
using either the xref:7.0@server:manage:manage-settings/install-sample-buckets.adoc#install-sample-buckets-with-the-ui[Web interface]
49
+
or the xref:7.0@server:manage:manage-settings/install-sample-buckets.adoc#install-sample-buckets-with-the-cli[command line].
50
50
====
51
51
52
52
@@ -87,7 +87,7 @@ Install the latest 3.3 https://www.nuget.org/packages/CouchbaseNetClient/[Couchb
87
87
The following code samples assume:
88
88
89
89
* Couchbase xref:cloud:ROOT:index.adoc[Capella] cluster, or Couchbase Server is installed and accessible locally (xref:server:getting-started:do-a-quick-install.adoc[Do a Quick Install] if you don't already have Couchbase Server installed).
90
-
* You have create a bucket (perhaps using the xref:{version-server}@server:manage:manage-settings/install-sample-buckets.adoc[travel-sample dataset], or by creating a new bucket).
90
+
* You have create a bucket (perhaps using the xref:7.0@server:manage:manage-settings/install-sample-buckets.adoc[travel-sample dataset], or by creating a new bucket).
91
91
Note, the Travel Sample bucket is installed automatically by the Capella free trial.
92
92
* You have created a Couchbase user named "username" [change as appropriate] with permissions to access the cluster (at least Application Access permissions).
Copy file name to clipboardExpand all lines: modules/hello-world/pages/webui-cli-access.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ You can access individual documents using the _command line_ and _web console_.
18
18
== Command-Line
19
19
20
20
You can access documents in Couchbase using command line interfaces.
21
-
You can use the `cbc` tool for simple document lookups by their IDs (or _keys_) and the xref:{version-server}@server:n1ql:n1ql-intro/cbq.adoc[cbq] tool to issue N1QL queries.
21
+
You can use the `cbc` tool for simple document lookups by their IDs (or _keys_) and the xref:7.0@server:n1ql:n1ql-intro/cbq.adoc[cbq] tool to issue N1QL queries.
22
22
This section will discuss the installation and usage of the `cbc` tool, and is targeted towards Linux and Mac OS X users.
23
23
24
24
NOTE: You can also use `cbc` on Windows by extracting the archive with libcouchbase.
For complex and long-running queries, involving large ad hoc join, set, aggregation, and grouping operations, Couchbase Data Platform offers the xref:{version-server}@server:analytics:introduction.adoc[Couchbase Analytics Service (CBAS)].
13
+
For complex and long-running queries, involving large ad hoc join, set, aggregation, and grouping operations, Couchbase Data Platform offers the xref:7.0@server:analytics:introduction.adoc[Couchbase Analytics Service (CBAS)].
14
14
This is the analytic counterpart to our xref:n1ql-queries-with-sdk.adoc[operational data focussed Query Service].
15
15
The analytics service is available in Couchbase Data Platform 6.0 and later (developer preview in 5.5).
16
16
17
17
18
18
== Getting Started
19
19
20
-
After familiarizing yourself with our xref:{version-server}@server:analytics:primer-beer.adoc[introductory primer],
20
+
After familiarizing yourself with our xref:7.0@server:analytics:primer-beer.adoc[introductory primer],
21
21
in particular creating a dataset and linking it to a bucket to shadow the operational data,
22
22
try Couchbase Analytics using the .NET SDK.
23
23
Intentionally, the API for analytics is very similar to that of the query service.
@@ -99,7 +99,7 @@ var result = await cluster.AnalyticsQueryAsync<dynamic>("select airportname, cou
99
99
After checking that `QueryStatus` is success, we iterate over the rows.
100
100
These rows may contain various sorts of data and metadata,
101
101
depending upon the nature of the query,
102
-
as you will have seen when working through our xref:{version-server}@server:analytics:primer-beer.adoc[introductory primer].
102
+
as you will have seen when working through our xref:7.0@server:analytics:primer-beer.adoc[introductory primer].
* There's plenty of explanation about how Transactions work in Couchbase in our xref:{version-server}@server:learn:data/transactions.adoc[Transactions documentation].
458
+
* There's plenty of explanation about how Transactions work in Couchbase in our xref:7.0@server:learn:data/transactions.adoc[Transactions documentation].
459
459
* You can find further code examples on our https://github.com/couchbaselabs/couchbase-transactions-dotnet-examples[transactions examples repository].
Copy file name to clipboardExpand all lines: modules/howtos/pages/full-text-searching-with-sdk.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ var result = cluster.SearchQuery(
35
35
----
36
36
37
37
All simple query types are created in the same manner, some have additional properties, which can be seen in common query type descriptions.
38
-
Couchbase FTS's xref:{version-server}@server:fts:fts-query-types.adoc[range of query types] enable powerful searching using multiple options, to ensure results are just within the range wanted.
38
+
Couchbase FTS's xref:7.0@server:fts:fts-query-types.adoc[range of query types] enable powerful searching using multiple options, to ensure results are just within the range wanted.
39
39
Here is a date range query that looks for dates between 1st January 2021 and 31st January:
0 commit comments