Combined fields error

{
"query": {
"combined_fields" : {
"query": "database systems",
"fields": [ "title", "abstract", "body"],
"operator": "and"
}
}
}

{
"error": {
"root_cause": [
{
"type": "parsing_exception",
"reason": "unknown query [combined_fields]",
"line": 3,
"col": 25
}
],
"type": "parsing_exception",
"reason": "unknown query [combined_fields]",
"line": 3,
"col": 25,
"caused_by": {
"type": "named_object_not_found_exception",
"reason": "[3:25] unknown field [combined_fields]"
}
},
"status": 400
}Preformatted text

Which version of Elasticsearch are you using? I believe this type of query was introduced in Elasticsearch 7.13.

Thank You

Welcome to our community! :smiley:

In future please provide more information that just some unformatted json, otherwise it's very hard for anyone to help you. Also please format your code/logs/config using the </> button, or markdown style back ticks. It helps to make things easy to read which helps us help you :slight_smile: