Hi ,
I am testing the below two queries but it gives different results
*Query 1:*
......./university/_search?q=name:Massachusetts%20Insti&fields=name
*Query 2:*
{"size": 10,
"fields": [
"name"
],
"query": {
"match": {
"name": {
"query": "Massachusetts Insti"
}
}
}
I believe space between the words is causing problem , how to represent the
query string in *Query 2* in* Query 1 *i tries "+: "%20" for representing
spaces.
Regards
Avinash
--
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/df824353-2a8a-4bb9-82b8-ac377f78fdc8%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.