From 8fdfc5ef21edebad7a3fd63785c5b6b84319e852 Mon Sep 17 00:00:00 2001 From: Miguel Grinberg Date: Wed, 3 Sep 2025 16:32:40 +0100 Subject: [PATCH] Fix ES|QL multi_match() signature (#3052) This change was reviewed when it was part of #3048. (cherry picked from commit cece9a7b9b5833336486b6c65292173929d2288e) --- elasticsearch/esql/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/esql/functions.py b/elasticsearch/esql/functions.py index 91f18d2d8..6f47b2c79 100644 --- a/elasticsearch/esql/functions.py +++ b/elasticsearch/esql/functions.py @@ -649,7 +649,7 @@ def min_over_time(field: ExpressionType) -> InstrumentedExpression: def multi_match( - query: ExpressionType, fields: ExpressionType, options: ExpressionType = None + query: ExpressionType, *fields: ExpressionType, options: ExpressionType = None ) -> InstrumentedExpression: """Use `MULTI_MATCH` to perform a multi-match query on the specified field. The multi_match query builds on the match query to allow multi-field queries.