From e2e3a2a5b1c04ee316a6c0aff7a94567ed13806f Mon Sep 17 00:00:00 2001 From: James Gowdy Date: Mon, 30 Mar 2020 14:03:46 +0100 Subject: [PATCH] [ML] Use indices options in datafeed preview (#61698) (#61778) --- 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)