Skip to content

Commit 805c7d6

Browse files
authored
Merge pull request elastic#953 from colleenmcginnis/docs-fix-cross-repo-links
[docs] Clean up cross-repo links
2 parents 62dbcf8 + 22d2d89 commit 805c7d6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/reference/aggregations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ mapped_pages:
88
An aggregation summarizes your data as metrics, statistics, or other analytics.
99

1010
::::{note}
11-
See the [{{es}} documentation](elasticsearch://docs/reference/data-analysis/aggregations/index.md) for a full explanation of aggregations.
11+
See the [{{es}} documentation](elasticsearch://reference/data-analysis/aggregations/index.md) for a full explanation of aggregations.
1212
::::
1313

1414

docs/reference/building-objects.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ CreateIndexResponse createResponse = client.indices()
5555
);
5656
```
5757

58-
Builder lambdas become particularly useful with complex nested queries like the one below, taken from the [intervals query API documentation](elasticsearch://docs/reference/query-languages/query-dsl-intervals-query.md).
58+
Builder lambdas become particularly useful with complex nested queries like the one below, taken from the [intervals query API documentation](elasticsearch://reference/query-languages/query-dsl-intervals-query.md).
5959

6060
This example also highlights a useful naming convention for builder parameters in deeply nested structures. For lambda expressions with a single argument, Kotlin provides the implicit `it` parameter and Scala allows use of `_`. This can be approximated in Java by using an underscore or a single letter prefix followed by a number representing the depth level (i.e. `_0`, `_1`, or `b0`, `b1` and so on). Not only does this remove the need to create throw-away variable names, but it also improves code readability. Correct indentation also allows the structure of the query to stand out.
6161

docs/reference/package-structure.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ mapped_pages:
55

66
# Package structure and namespace clients [package-structure]
77

8-
The {{es}} API is large and is organized into feature groups, as can be seen in the [{{es}} API documentation](elasticsearch://docs/reference/elasticsearch/rest-apis/index.md).
8+
The {{es}} API is large and is organized into feature groups, as can be seen in the [{{es}} API documentation](elasticsearch://reference/elasticsearch/rest-apis/index.md).
99

1010
The Java API Client follows this structure: feature groups are called “namespaces”, and each namespace is located in a subpackage of `co.elastic.clients.elasticsearch`.
1111

docs/reference/using-java-api-client.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ mapped_pages:
77

88
The sections below provide tutorials on the most frequently used and some less obvious features of {{es}}.
99

10-
For a full reference, see the [Elasticsearch documentation](docs-content://get-started/index.md) and in particular the [REST APIs](elasticsearch://docs/reference/elasticsearch/rest-apis/index.md) section. The Java API Client follows closely the JSON structures described there, using the [Java API conventions](/reference/api-conventions.md).
10+
For a full reference, see the [Elasticsearch documentation](docs-content://get-started/index.md) and in particular the [REST APIs](elasticsearch://reference/elasticsearch/rest-apis/index.md) section. The Java API Client follows closely the JSON structures described there, using the [Java API conventions](/reference/api-conventions.md).
1111

1212
If you’re new to Elasticsearch, make sure also to read [Elasticsearch’s quick start](docs-content://solutions/search/get-started.md) that provides a good introduction.
1313

0 commit comments

Comments
 (0)