Skip to content

Commit

Permalink
HSEARCH-3122 Add an anchor to documentation of the dynamic mapping at…
Browse files Browse the repository at this point in the history
…tribute

Signed-off-by: Yoann Rodière <yoann@hibernate.org>
  • Loading branch information
yrodiere committed Oct 7, 2020
1 parent 5e38d45 commit 089dca6
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -629,7 +629,8 @@ contains the actual index name (e.g. `myindex-000001`), not the alias (e.g. `myi
If indexes do not follow the default naming scheme `<hibernateSearchIndexName>-<6 digits>`,
a custom <<backend-elasticsearch-indexlayout,index layout>> must be configured.

=== Dynamic types mapping
[[backend-elasticsearch-mapping-dynamic]]
=== Dynamic mapping

By default, Hibernate Search sets the link:{elasticsearchDocUrl}/dynamic.html[`dynamic`] property in Elasticsearch index mappings to `strict`.
This means that attempting to index documents with fields that are not present in the mapping will lead to an indexing failure.
Expand Down

0 comments on commit 089dca6

Please sign in to comment.