From 89ea24842135fb14eb526fe388c8ab9a027c417b Mon Sep 17 00:00:00 2001 From: Quynh Nguyen Date: Tue, 2 Nov 2021 13:42:12 -0500 Subject: [PATCH] [ML] Set ignore_throttled --- .../plugins/ml/server/models/data_recognizer/data_recognizer.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts b/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts index 1cd9aae79777b..9e02a93a3c0f1 100644 --- a/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts +++ b/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts @@ -293,6 +293,8 @@ export class DataRecognizer { index, size, body: searchBody, + // Ignored indices that are frozen + ignore_throttled: true, }); // @ts-expect-error incorrect search response type