Multi_match field names

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),
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.

--

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),
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.

--