Try using the term query as term query is not analyzed so it might search the
exact term only.

{
"query" : {
"term" : { "street" : "xxx" }
}
}



--
View this message in context: 
http://elasticsearch-users.115913.n3.nabble.com/Exact-phrase-match-city-names-example-tp4019310p4050604.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/1393485909531-4050604.post%40n3.nabble.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to