I already ready this article https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html
but couldn't figure it out myself.
lets have these two queries:
first
GET blablabla/_search
{
"query": {
"multi_match": {
"query": "games usa",
"fields": ["title1", "title2"],
"type": "best_fields"
}
}
}
second
get blablabla/_search
{
"query" : {
"multi_match": {
"query": "games usa",
"fields": ["title1", "title2"],
"type": "most_fields"
}
}
}
I think the first query means:
get documetns that contain (games) or (usa) or (games and usa) words in either the title1 or the title2 fields.
However, I don't know what does the second one mean.
may i ask for help please?
(im on elasticsearch 2.2)