From 1152a5bc865eb5d869b44c17d08d8408a01cc4d8 Mon Sep 17 00:00:00 2001 From: Jan Kuipers Date: Wed, 11 Dec 2024 14:18:23 +0100 Subject: [PATCH] Add ES|QL to categorize-text challenge --- elastic/logs/challenges/categorize-text.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/elastic/logs/challenges/categorize-text.json b/elastic/logs/challenges/categorize-text.json index 11ce4741..87517c94 100644 --- a/elastic/logs/challenges/categorize-text.json +++ b/elastic/logs/challenges/categorize-text.json @@ -1,5 +1,5 @@ {% import "rally.helpers" as rally %} -{% set shard_size_list = [10, 100, 1000] %} +{% set shard_size_list = [10, 100, 1000, 1000000000] %} { "name": "categorize-text", "description": "Checks the performance of the categorize text aggregation", @@ -107,6 +107,17 @@ "target-throughput": 100 }, {% endfor %} + { + "operation": { + "name": "categorize_text_esql", + "operation-type": "esql", + "query": "FROM categorize-text-index-alias | STATS COUNT() BY CATEGORIZE(message)" + }, + "clients": 8, + "warmup-iterations": {{ warmup_iterations | default(3) }}, + "iterations": {{ iterations | default(10) }}, + "target-throughput": 100 + }, { "operation": { "name": "remove-categorize-text-index-alias",