Skip to content

Commit a562194

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

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)