From ae88ea350699bc8c284e75cfe7c0bdc9af29a214 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Montalv=C3=A3o=20Marques?= <9379664+GonMMarques@users.noreply.github.com> Date: Thu, 6 Oct 2022 11:57:48 +0100 Subject: [PATCH] Fix typos in documentation. Original Pull Request #2321 Closes #2320 --- .../reference/elasticsearch-migration-guide-4.0-4.1.adoc | 4 ++-- src/main/asciidoc/reference/elasticsearch-object-mapping.adoc | 2 +- .../reference/reactive-elasticsearch-repositories.adoc | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/asciidoc/reference/elasticsearch-migration-guide-4.0-4.1.adoc b/src/main/asciidoc/reference/elasticsearch-migration-guide-4.0-4.1.adoc index cbc545be2..6fc1407bf 100644 --- a/src/main/asciidoc/reference/elasticsearch-migration-guide-4.0-4.1.adoc +++ b/src/main/asciidoc/reference/elasticsearch-migration-guide-4.0-4.1.adoc @@ -9,7 +9,7 @@ This section describes breaking changes from version 4.0.x to 4.1.x and how remo .Definition of the id property It is possible to define a property of en entity as the id property by naming it either `id` or `document`. This behaviour is now deprecated and will produce a warning. -PLease us the `@Id` annotation to mark a property as being the id property. +Please use the `@Id` annotation to mark a property as being the id property. .Index mappings In the `ReactiveElasticsearchClient.Indices` interface the `updateMapping` methods are deprecated in favour of the `putMapping` methods. @@ -44,5 +44,5 @@ With the introduction of the `ReactiveIndexOperations` it became necessary to ch [[elasticsearch-migration-guide-4.0-4.1.breaking-changes.returntypes-2]] === Return types of DocumentOperations.bulkIndex methods -These methods were returing a `List` containing the ids of the new indexed records. +These methods were returning a `List` containing the ids of the new indexed records. Now they return a `List`; these objects contain the id and information about optimistic locking (seq_no and primary_term) diff --git a/src/main/asciidoc/reference/elasticsearch-object-mapping.adoc b/src/main/asciidoc/reference/elasticsearch-object-mapping.adoc index 130363d10..c3a2ab668 100644 --- a/src/main/asciidoc/reference/elasticsearch-object-mapping.adoc +++ b/src/main/asciidoc/reference/elasticsearch-object-mapping.adoc @@ -251,7 +251,7 @@ In this case, writing the type hint will produce an error, as the field cannot b Type hints can be disabled for the whole application by overriding the method `writeTypeHints()` in a configuration class derived from `AbstractElasticsearchConfiguration` (see <>). -As an alternativ they can be disabled for a single index with the `@Document` annotation: +As an alternative they can be disabled for a single index with the `@Document` annotation: ==== [source,java] diff --git a/src/main/asciidoc/reference/reactive-elasticsearch-repositories.adoc b/src/main/asciidoc/reference/reactive-elasticsearch-repositories.adoc index d5276113d..401f964b5 100644 --- a/src/main/asciidoc/reference/reactive-elasticsearch-repositories.adoc +++ b/src/main/asciidoc/reference/reactive-elasticsearch-repositories.adoc @@ -79,7 +79,7 @@ interface ReactivePersonRepository extends ReactiveSortingRepository Count all entities with matching `firstname`. <10> Check if at least one entity with matching `firstname` exists. -<11> Delete all entites with matching `firstname`. +<11> Delete all entities with matching `firstname`. ==== [[elasticsearch.reactive.repositories.configuration]]