Hi ES users,
While exploring the new release of ES 1.1.0 I came across with the release
of cross_fields query in multi_match.
So is there any difference between "Query_string" query and "multi_match"
query with cross_fields.
for ex:
if my query_string query is:
"query_string": {
"fields": [
"title",
"content"
],
"query": "mobile phones"
So it will search for mobile or phones in either of title or content. like
the result will come as
*{mobile in title | mobile in content | phones in title | phones in
content}*
Similarly for multi_match query with cross_fields:
{
"multi_match" : {
"query": "mobile phones",
"type": "cross_fields",
"fields": [ "title", "content" ]
}
}
So in this also the search result will be like:
*{mobile in title | mobile in content | phones in title | phones in
content}*
So just let me know if my interpretation is wrong in any of the scenario. If
not then what exactly is the difference between these two.
--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Exact-difference-between-Query-string-query-and-multi-match-query-with-cross-fields-tp4052982.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/1395985820994-4052982.post%40n3.nabble.com.
For more options, visit https://groups.google.com/d/optout.