From f2e0afc80dd477acdd95ba58bba85d9ad14caf8e Mon Sep 17 00:00:00 2001 From: Quynh Nguyen <43350163+qn895@users.noreply.github.com> Date: Wed, 3 Nov 2021 15:38:07 -0500 Subject: [PATCH] [ML] Set ignore_throttled (#117208) --- .../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