# Multiple value, multiple fields

**URL:** <https://discuss.elastic.co/t/multiple-value-multiple-fields/84902>\
**Category:** Elasticsearch\
**Created:** [May 8, 2017, 8:43am UTC](https://discuss.elastic.co/t/multiple-value-multiple-fields/84902 "2017-05-08T08:43:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sharon\_wsf](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@Sharon\_wsf](https://discuss.elastic.co/u/Sharon_wsf)\
**Post date:** [May 8, 2017, 8:43am UTC](https://discuss.elastic.co/t/multiple-value-multiple-fields/84902/1 "2017-05-08T08:43:04Z")

</div>

Hi team,

below is my query:

POST /news/bursa/\_search { "query": { "bool": { "must": [{ "match": { "category": "30" } } , { "multi\_match": { "terms": ["company report","announement quote"], "fields": ["stkno", "tag" ,"content" ,"htext"] } } , { "range": { "CDate": { "gte": "2017-01-01" , "lte": "2017-06-03T23:59:59" } } } ],"should": [{ "match": { "category": "30" } } , { "multi\_match": { "query": ["price"], "fields": ["stkno", "tag" ,"content" ,"htext"] } } , { "range": { "CDate": { "gte": "2017-01-01" , "lte": "2017-06-03T23:59:59" } } } ] } }, "size": 500, "sort": [{ "CDate": { "order": "desc" } }] }

I need multiple value and fields in 'must' condition. but elasticsearch return error [match] query does not support [terms]]. How should i do?

Thanks

---

<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:** [June 5, 2017, 8:49am UTC](https://discuss.elastic.co/t/multiple-value-multiple-fields/84902/2 "2017-06-05T08:49:53Z")

</div>

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