I have defined
dynamic "false"
in my default mapping.
This restricts new fields from being created.
Is there a way to restrict new document types (entity type) to be created?
Thanks.
I have defined
dynamic "false"
in my default mapping.
This restricts new fields from being created.
Is there a way to restrict new document types (entity type) to be created?
Thanks.
The only way would be to define the type in the mapping and then use strict mapping to reject anything else.
But what if I have a default with a field (let's say ID) and dynamic="false"
Then the new non dynamic entity will be created with ID.
-> And then it will be loaded to the ES.
(I have tested it and this is how it behaves)
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.