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]]