# Multi\_match field names

**URL:** <https://discuss.elastic.co/t/multi-match-field-names/9513>\
**Category:** Elasticsearch\
**Created:** [October 31, 2012, 11:45pm UTC](https://discuss.elastic.co/t/multi-match-field-names/9513 "2012-10-31T23:45:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick\_Dunn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nick_dunn/32/2315_2.png) [@Nick\_Dunn](https://discuss.elastic.co/u/Nick_Dunn)\
**Post date:** [October 31, 2012, 11:45pm UTC](https://discuss.elastic.co/t/multi-match-field-names/9513/1 "2012-10-31T23:45:57Z")

</div>

I could answer this by trying, but wanted to make sure first. When using  
the new multi\_match query type  
([http://www.elasticsearch.org/guide/reference/query-dsl/multi-match-query.html](http://www.elasticsearch.org/guide/reference/query-dsl/multi-match-query.html)),  
can I use multi-type fields? It's not explicit in the doc examples. For  
example:

"fields" : ["subject.fulltext", "message.fulltext"]

or even

"fields" : ["\*.fulltext"]

I know I've had this working for a query\_string query, but wanted to make  
sure it was universally supported on other types too.

--

---

<div class="post-metadata">

**Author:** ![Igor\_Motov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_motov/32/45193_2.png) [@Igor\_Motov](https://discuss.elastic.co/u/Igor_Motov)\
**Post date:** [November 1, 2012, 12:02am UTC](https://discuss.elastic.co/t/multi-match-field-names/9513/2 "2012-11-01T00:02:52Z")

</div>

Yes, you should be able to use fields with multi\_field type in multi\_match  
queries and both examples should work.

On Wednesday, October 31, 2012 7:45:57 PM UTC-4, Nick Dunn wrote:

> I could answer this by trying, but wanted to make sure first. When using  
> the new multi\_match query type (  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/query-dsl/multi-match-query.html)),  
> can I use multi-type fields? It's not explicit in the doc examples. For  
> example:
> 
> "fields" : ["subject.fulltext", "message.fulltext"]
> 
> or even
> 
> "fields" : ["\*.fulltext"]
> 
> I know I've had this working for a query\_string query, but wanted to make  
> sure it was universally supported on other types too.

--

---

<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:** [July 6, 2017, 3:06am UTC](https://discuss.elastic.co/t/multi-match-field-names/9513/3 "2017-07-06T03:06:40Z")

</div>


