Multi_match and query tokenization

Hi,

assuming I have this mapping :
{
"mail" : {
"properties" : {
"subject" : {"type" : "string", "analyzer" : "standard"},
"message" : {"type" : "string", "analyzer" : "whitespace"},
}
}
}
where subject and message fields haven't got the same analyzer.

If I do a multi_like query like :
{
"multi_match" : {
"query" : "this is a test",
"fields" : [ "subject", "message" ]
}
}

does the query will be tokenized using standard analyzer when querying
subject field and whitespace analyzer when querying on message field ?

Thanks in advance.

Pierre

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

does the query will be tokenized using standard analyzer when querying
subject field and whitespace analyzer when querying on message field ?

Yes.

But note that the same does not apply to the query_string query

clint

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.