Skip to content

Commit 4cad4de

Browse files
authored
Docs: Update links (#624)
1 parent bb1243c commit 4cad4de

12 files changed

+15
-15
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959

6060
## [1.5.0](https://github.com/arangodb/go-driver/tree/v1.5.0) (2023-02-17)
6161
- Use Go 1.19.4
62-
- Add `IsExternalStorageError` to check for [external storage errors](https://www.arangodb.com/docs/stable/appendix-error-codes.html#external-arangodb-storage-errors)
62+
- Add `IsExternalStorageError` to check for [external storage errors](https://docs.arangodb.com/stable/develop/error-codes-and-meanings/#external-arangodb-storage-errors)
6363
- `nested` field in arangosearch type View
6464
- Fix: TTL index creation fails when expireAt is 0
6565
- [V2] Support for Collection Indexes

asyncjob.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type ClientAsyncJob interface {
2929
AsyncJob() AsyncJobService
3030
}
3131

32-
// AsyncJobService https://www.arangodb.com/docs/devel/http/jobs.html
32+
// AsyncJobService https://docs.arangodb.com/stable/develop/http-api/jobs/
3333
type AsyncJobService interface {
3434
// List Returns the ids of job results with a specific status
3535
List(ctx context.Context, jobType AsyncJobStatusType, opts *AsyncJobListOptions) ([]string, error)

client_server_admin.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ type ClientServerAdmin interface {
3737
Shutdown(ctx context.Context, removeFromCluster bool) error
3838

3939
// Metrics returns the metrics of the server in Prometheus format.
40-
// List of metrics: https://www.arangodb.com/docs/devel/http/administration-and-monitoring-metrics.html
40+
// List of metrics: https://docs.arangodb.com/stable/develop/http-api/monitoring/metrics/
4141
// You can parse it using Prometheus client:
4242
/*
4343
var parser expfmt.TextParser
@@ -47,7 +47,7 @@ type ClientServerAdmin interface {
4747

4848
// MetricsForSingleServer returns the metrics of the specific server in Prometheus format.
4949
// This parameter 'serverID' is only meaningful on Coordinators.
50-
// List of metrics: https://www.arangodb.com/docs/devel/http/administration-and-monitoring-metrics.html
50+
// List of metrics: https://docs.arangodb.com/stable/develop/http-api/monitoring/metrics/
5151
// You can parse it using Prometheus client:
5252
/*
5353
var parser expfmt.TextParser

v2/arangodb/arango_search.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const (
108108

109109
// ArangoSearchAnalyzerProperties specifies options for the analyzer.
110110
// Required and respected depend on the analyzer type.
111-
// See docs: https://www.arangodb.com/docs/stable/arangosearch-analyzers.html#analyzer-properties
111+
// See docs: https://docs.arangodb.com/stable/index-and-search/analyzers/#analyzer-properties
112112
type ArangoSearchAnalyzerProperties struct {
113113
IsSystem bool `json:"isSystem,omitempty"`
114114

@@ -247,7 +247,7 @@ const (
247247
)
248248

249249
// ArangoSearchEdgeNGram specifies options for the edgeNGram text analyzer.
250-
// More information can be found here: https://www.arangodb.com/docs/stable/arangosearch-analyzers.html#text
250+
// More information can be found here: https://docs.arangodb.com/stable/index-and-search/analyzers/#text
251251
type ArangoSearchEdgeNGram struct {
252252
// Min used by Text
253253
Min *int64 `json:"min,omitempty"`

v2/arangodb/asyncjob.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"time"
2626
)
2727

28-
// ClientAsyncJob https://www.arangodb.com/docs/devel/http/jobs.html
28+
// ClientAsyncJob https://docs.arangodb.com/stable/develop/http-api/jobs/
2929
type ClientAsyncJob interface {
3030
// AsyncJobList Returns the ids of job results with a specific status
3131
AsyncJobList(ctx context.Context, jobType AsyncJobStatusType, opts *AsyncJobListOptions) ([]string, error)

v2/arangodb/collection_documents_create.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
)
2929

3030
// CollectionDocumentCreate interface for creating documents in a collection.
31-
// https://www.arangodb.com/docs/devel/http/document.html#create-a-document
31+
// https://docs.arangodb.com/stable/develop/http-api/documents/#create-a-document
3232
type CollectionDocumentCreate interface {
3333

3434
// CreateDocument creates a single document in the collection.

v2/arangodb/collection_documents_delete.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
)
2929

3030
// CollectionDocumentDelete removes document(s) with given key(s) from the collection
31-
// https://www.arangodb.com/docs/devel/http/document.html#remove-a-document
31+
// https://docs.arangodb.com/stable/develop/http-api/documents/#remove-a-document
3232
type CollectionDocumentDelete interface {
3333
// DeleteDocument removes a single document with given key from the collection.
3434
// The document metadata is returned.

v2/arangodb/collection_documents_read.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
)
2929

3030
// CollectionDocumentRead contains methods for reading documents from a collection.
31-
// https://www.arangodb.com/docs/devel/http/document.html#get-a-document
31+
// https://docs.arangodb.com/stable/develop/http-api/documents/#get-a-document
3232
type CollectionDocumentRead interface {
3333
// ReadDocument reads a single document with given key from the collection.
3434
// The document data is stored into result, the document metadata is returned.

v2/arangodb/collection_documents_replace.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
)
2929

3030
// CollectionDocumentReplace replaces document(s) with given key(s) in the collection
31-
// https://www.arangodb.com/docs/devel/http/document.html#replace-a-document
31+
// https://docs.arangodb.com/stable/develop/http-api/documents/#replace-a-document
3232
type CollectionDocumentReplace interface {
3333

3434
// ReplaceDocument replaces a single document with given key in the collection.

v2/arangodb/collection_documents_update.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
)
2929

3030
// CollectionDocumentUpdate Partially updates document(s) with given key in the collection.
31-
// https://www.arangodb.com/docs/devel/http/document.html#update-a-document
31+
// https://docs.arangodb.com/stable/develop/http-api/documents/#update-a-document
3232
type CollectionDocumentUpdate interface {
3333
// UpdateDocument updates a single document with a given key in the collection.
3434
// The document metadata is returned.

v2/arangodb/database_transaction.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
)
2626

2727
// DatabaseTransaction contains Streaming Transactions functions
28-
// https://www.arangodb.com/docs/stable/http/transaction-stream-transaction.html
28+
// https://docs.arangodb.com/stable/develop/http-api/transactions/stream-transactions/
2929
type DatabaseTransaction interface {
3030
ListTransactions(ctx context.Context) ([]Transaction, error)
3131
ListTransactionsWithStatuses(ctx context.Context, statuses ...TransactionStatus) ([]Transaction, error)

view_arangosearch.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ const (
125125
)
126126

127127
// ArangoSearchEdgeNGram specifies options for the edgeNGram text analyzer.
128-
// More information can be found here: https://www.arangodb.com/docs/stable/arangosearch-analyzers.html#text
128+
// More information can be found here: https://docs.arangodb.com/stable/index-and-search/analyzers/#text
129129
type ArangoSearchEdgeNGram struct {
130130
// Min used by Text
131131
Min *int64 `json:"min,omitempty"`
@@ -155,7 +155,7 @@ func (a ArangoSearchFormat) New() *ArangoSearchFormat {
155155

156156
// ArangoSearchAnalyzerProperties specifies options for the analyzer. Which fields are required and
157157
// respected depends on the analyzer type.
158-
// more information can be found here: https://www.arangodb.com/docs/stable/arangosearch-analyzers.html#analyzer-properties
158+
// more information can be found here: https://docs.arangodb.com/stable/index-and-search/analyzers/#analyzer-properties
159159
type ArangoSearchAnalyzerProperties struct {
160160
// Locale used by Stem, Norm, Text
161161
Locale string `json:"locale,omitempty"`

0 commit comments

Comments
 (0)