Hello!
I'd like to set all fields type as keyword except some custom fields.
"properties": {
"field1": { "type" : "text" },
"*": { "type" : "keyword" }
}
doesn't work ant the fields mapping dynamically.
Is there any way to solve the task?
Hello!
I'd like to set all fields type as keyword except some custom fields.
"properties": {
"field1": { "type" : "text" },
"*": { "type" : "keyword" }
}
doesn't work ant the fields mapping dynamically.
Is there any way to solve the task?
Have a look at Dynamic templates | Elasticsearch Guide [7.15] | Elastic
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 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.