Skip to content

Commit 25f3273

Browse files
Fix ES|QL multi_match() signature (elastic#3052) (elastic#3053)
This change was reviewed when it was part of elastic#3048. (cherry picked from commit cece9a7) Co-authored-by: Miguel Grinberg <[email protected]>
1 parent df141d0 commit 25f3273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch/esql/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ def min_over_time(field: ExpressionType) -> InstrumentedExpression:
649649

650650

651651
def multi_match(
652-
query: ExpressionType, fields: ExpressionType, options: ExpressionType = None
652+
query: ExpressionType, *fields: ExpressionType, options: ExpressionType = None
653653
) -> InstrumentedExpression:
654654
"""Use `MULTI_MATCH` to perform a multi-match query on the specified field.
655655
The multi_match query builds on the match query to allow multi-field queries.

0 commit comments

Comments
 (0)