Skip to content

Commit 34f0709

Browse files
swallezmarciw
andauthored
Fix references to Java client docs (#1071)
In elastic/elasticsearch-java#988 we restructure the 9.x Java client docs to re-instate the folder structure we had with asciidoc along with adding docs for new 9.0 features. Because of this, some references to the Java docs will need to be updated once that PR is merged. This PR fixes this. Co-authored-by: Marci W <333176+marciw@users.noreply.github.com>
1 parent 554a73d commit 34f0709

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

deploy-manage/security/httprest-clients-security.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ es-secondary-authorization: ApiKey <TOKEN> <1>
8383

8484
For more information about using {{security-features}} with the language specific clients, refer to:
8585

86-
* [Java](elasticsearch-java://reference/_basic_authentication.md)
86+
* [Java](elasticsearch-java://reference/setup/connecting.md)
8787
* [JavaScript](elasticsearch-js://reference/connecting.md)
8888
* [.NET](elasticsearch-net://reference/configuration.md)
8989
* [Perl](https://metacpan.org/pod/Search::{{es}}::Cxn::HTTPTiny#CONFIGURATION)

manage-data/ingest/ingesting-data-from-applications/ingest-data-with-nodejs-on-elasticsearch-service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ Security
304304

305305

306306
Connections ({{ech}} only)
307-
: If your application connecting to {{ech}} runs under the Java security manager, you should at least disable the caching of positive hostname resolutions. To learn more, check the [Java API Client documentation](elasticsearch-java://reference/_others.md).
307+
: If your application connecting to {{ech}} runs under the Java security manager, you should at least disable the caching of positive hostname resolutions. To learn more, check the [Java API Client documentation](elasticsearch-java://reference/transport/rest5-client/config/others.md).
308308

309309
Schema
310310
: When the example code was run an index mapping was created automatically. The field types were selected by {{es}} based on the content seen when the first record was ingested, and updated as new fields appeared in the data. It would be more efficient to specify the fields and field types in advance to optimize performance. Refer to the Elastic Common Schema documentation and Field Type documentation when you are designing the schema for your production use cases.

troubleshoot/elasticsearch/elasticsearch-client-java-api-client/error-no-such-method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This method was introduced in `elasticsearch-rest-client` version 7.16.0. The er
1515

1616
This happens in particular when the project is using the [Spring Boot Maven Plugin](https://docs.spring.io/spring-boot/docs/current/maven-plugin/reference/htmlsingle/), as this plugin [defines versions for commonly used libraries](https://github.com/spring-projects/spring-boot/blob/main/spring-boot-project/spring-boot-dependencies/build.gradle), including `elasticsearch-rest-client`. Depending on the version of Spring Boot used in the project, that version may be outdated.
1717

18-
To solve this issue, you have to add the `elasticsearch-rest-client` dependency explicitly in your project, with the same version as `elasticsearch-java` (see also [Installation](elasticsearch-java://reference/installation.md)).
18+
To solve this issue, you have to add the `elasticsearch-rest-client` dependency explicitly in your project, with the same version as `elasticsearch-java` (see also [Installation](elasticsearch-java://reference/setup/installation.md)).
1919

2020
Using Gradle:
2121

0 commit comments

Comments
 (0)