Skip to content

Commit eb9e0a1

Browse files
osfameronjeffrymorris
authored andcommitted
Change @server version to 7.0 for now
As per couchbase/docs-sdk-java#326 git grep -l '{version-server}@server' | xargs sd '\{version-server\}@server' '7.0@server'
1 parent 972d7c9 commit eb9e0a1

15 files changed

+28
-28
lines changed

modules/concept-docs/pages/analytics-for-sdk-users.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ For complex and long-running queries, involving large ad hoc join, set, aggregat
2323
2424
== Additional Resources
2525
26-
* Start with our xref:{version-server}@server:analytics:primer-beer.adoc[introductory primer].
26+
* Start with our xref:7.0@server:analytics:primer-beer.adoc[introductory primer].
2727
* Read the practical introduction xref:howtos:analytics-using-sdk.adoc[using analytics from the SDK].

modules/concept-docs/pages/collections.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ include::project-docs:partial$attributes.adoc[]
1010

1111
The Collections feature in Couchbase Server is fully implemented in the 3.2 API version of the Couchbase SDK.
1212

13-
Information on _Collections_ can be found in the xref:{version-server}@server:learn:data:scopes-and-collections.adoc[server docs].
13+
Information on _Collections_ can be found in the xref:7.0@server:learn:data:scopes-and-collections.adoc[server docs].
1414

1515
== Using Collections & Scopes
1616

modules/concept-docs/pages/compression.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ However, stable Snappy support is not yet available in .NET.
1212

1313

1414

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.
1616
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.
1717

1818
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).

modules/concept-docs/pages/documents.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ await collection.MutateInAsync("customer123", new List<MutateInSpec>
4242
});
4343
----
4444
45-
or xref:{version-server}@server:n1ql:n1ql-language-reference/update.adoc[N1QL UPDATE] to update documents based on specific query criteria:
45+
or xref:7.0@server:n1ql:n1ql-language-reference/update.adoc[N1QL UPDATE] to update documents based on specific query criteria:
4646
4747
[source,sql]
4848
----
@@ -126,5 +126,5 @@ include::{version-server}@sdk:shared:partial$documents.adoc[tag=expiration]
126126
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.
127127
All other overloads take a `TimeSpan` or an `uint`, and assume an expiry in seconds
128128
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]).
130130
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_.

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ var result = await cluster.QueryAsync<dynamic>(
2929
);
3030
----
3131

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.
3333

3434

3535
== Indexes
3636

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.
3838
Indexes replicate subsets of documents from data nodes over to index nodes,
3939
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.
4141

4242
[IMPORTANT]
4343
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.
8282
When an index includes the actual values of all the fields specified in the query,
8383
the index _covers_ the query, and eliminates the need to fetch the actual values from the Data Service.
8484
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].
8686

8787
You can also create and define indexes in the SDK using:
8888

@@ -131,7 +131,7 @@ include::{version-server}@sdk:shared:partial$n1ql-queries.adoc[tag=index-consist
131131

132132
The following options are available:
133133

134-
include::{version-server}@server:learn:page$services-and-indexes/indexes/index-replication.adoc[tag=scan_consistency]
134+
include::7.0@server:learn:page$services-and-indexes/indexes/index-replication.adoc[tag=scan_consistency]
135135
////
136136
* `not_bounded`: Executes the query immediately, without requiring any consistency for the query.
137137
If index-maintenance is running behind, out-of-date results may be returned.

modules/hello-world/pages/start-using-sdk.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ include::example$StartUsing.cs[tags=**]
4545
--
4646
4747
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].
5050
====
5151

5252

@@ -87,7 +87,7 @@ Install the latest 3.3 https://www.nuget.org/packages/CouchbaseNetClient/[Couchb
8787
The following code samples assume:
8888

8989
* 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).
9191
Note, the Travel Sample bucket is installed automatically by the Capella free trial.
9292
* You have created a Couchbase user named "username" [change as appropriate] with permissions to access the cluster (at least Application Access permissions).
9393

modules/hello-world/pages/webui-cli-access.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ You can access individual documents using the _command line_ and _web console_.
1818
== Command-Line
1919

2020
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.
2222
This section will discuss the installation and usage of the `cbc` tool, and is targeted towards Linux and Mac OS X users.
2323

2424
NOTE: You can also use `cbc` on Windows by extracting the archive with libcouchbase.

modules/howtos/pages/analytics-using-sdk.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ include::project-docs:partial$attributes.adoc[]
1010

1111

1212

13-
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)].
1414
This is the analytic counterpart to our xref:n1ql-queries-with-sdk.adoc[operational data focussed Query Service].
1515
The analytics service is available in Couchbase Data Platform 6.0 and later (developer preview in 5.5).
1616

1717

1818
== Getting Started
1919

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],
2121
in particular creating a dataset and linking it to a bucket to shadow the operational data,
2222
try Couchbase Analytics using the .NET SDK.
2323
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
9999
After checking that `QueryStatus` is success, we iterate over the rows.
100100
These rows may contain various sorts of data and metadata,
101101
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].
103103

104104
[source,csharp]
105105
----

modules/howtos/pages/distributed-acid-transactions-from-the-sdk.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,5 +455,5 @@ include::{version-server}@sdk:shared:partial$acid-transactions.adoc[tag=custom-m
455455

456456
== Further Reading
457457

458-
* 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].
459459
* You can find further code examples on our https://github.com/couchbaselabs/couchbase-transactions-dotnet-examples[transactions examples repository].

modules/howtos/pages/full-text-searching-with-sdk.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var result = cluster.SearchQuery(
3535
----
3636

3737
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.
3939
Here is a date range query that looks for dates between 1st January 2021 and 31st January:
4040

4141
[source,csharp]

0 commit comments

Comments
 (0)