import org.elasticsearch.xpack.core.ml.job.config.Job; import org.elasticsearch.xpack.core.ml.job.messages.Messages; @@ -37,7 +38,6 @@ import org.elasticsearch.xpack.core.ml.utils.QueryProvider; import org.elasticsearch.xpack.core.ml.utils.ToXContentParams; ...
The request that is sent to Elasticsearch has the following body:{ "runtime_mappings": { "priceWithTax": [ { "script": { "source": "emit(doc['price'].value * 1.19)" }, "type": "double" } ] } }Note that the priceWithTax property is an array, the client builder requires a ...
dimitris-athanasiouadded a commit to dimitris-athanasiou/elasticsearch that referenced this pull requestFeb 22, 2021 [7.x][ML] Do not add runtime section to DFA dest index mappings unnec…… 77f9d18 dimitris-athanasioumentioned this pull requestFeb 22, 2021 ...