From 4d1c9142f08df1febe30b92537cad80e380fd8e3 Mon Sep 17 00:00:00 2001 From: James Gowdy Date: Mon, 30 Mar 2020 12:06:23 +0100 Subject: [PATCH] [ML] Use indices options in datafeed preview (#61698) --- x-pack/plugins/ml/public/application/services/job_service.js | 1 + 1 file changed, 1 insertion(+) diff --git a/x-pack/plugins/ml/public/application/services/job_service.js b/x-pack/plugins/ml/public/application/services/job_service.js index a84400f236134..0454d40e78923 100644 --- a/x-pack/plugins/ml/public/application/services/job_service.js +++ b/x-pack/plugins/ml/public/application/services/job_service.js @@ -586,6 +586,7 @@ class JobService { const data = { index: job.datafeed_config.indices, body, + ...(job.datafeed_config.indices_options || {}), }; ml.esSearch(data)