The _id does not belong within the _source. Please see my example below:
"script": {
"inline": "ctx._id= ctx._source['Branch'] + '-' + ctx._source['BuildNumber']",
"lang": "painless"
}
The _id does not belong within the _source. Please see my example below:
"script": {
"inline": "ctx._id= ctx._source['Branch'] + '-' + ctx._source['BuildNumber']",
"lang": "painless"
}
© 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.