# Combined fields error

**URL:** <https://discuss.elastic.co/t/combined-fields-error/311364>\
**Category:** Elasticsearch\
**Created:** [August 4, 2022, 5:30am UTC](https://discuss.elastic.co/t/combined-fields-error/311364 "2022-08-04T05:30:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![renxu](https://avatars.discourse-cdn.com/v4/letter/r/ea5d25/32.png) [@renxu](https://discuss.elastic.co/u/renxu)\
**Post date:** [August 4, 2022, 5:30am UTC](https://discuss.elastic.co/t/combined-fields-error/311364/1 "2022-08-04T05:30:18Z")

</div>

{  
"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`

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [August 4, 2022, 5:50am UTC](https://discuss.elastic.co/t/combined-fields-error/311364/2 "2022-08-04T05:50:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![renxu](https://avatars.discourse-cdn.com/v4/letter/r/ea5d25/32.png) [@renxu](https://discuss.elastic.co/u/renxu)\
**Post date:** [August 4, 2022, 6:29am UTC](https://discuss.elastic.co/t/combined-fields-error/311364/3 "2022-08-04T06:29:15Z")

</div>

Thank You

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 4, 2022, 6:50am UTC](https://discuss.elastic.co/t/combined-fields-error/311364/4 "2022-08-04T06:50:47Z")

</div>

Welcome to our community! 😃

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 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 1, 2022, 6:50am UTC](https://discuss.elastic.co/t/combined-fields-error/311364/5 "2022-09-01T06:50:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
