From 2c1508717bdee4f8e4fee6b56896e2af031e05eb 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 a84400f23613..0454d40e7892 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)