title: Exact matches with ElasticSearch (at query time)
body: <p>I have a locations index, which has lots of location names and their respective countries. </p>
  
  <p>I then want to know whether we have locations with title "Berlin" in the country with country code "DE". </p>
  
  <p>Here's my Java code attempt:</p>
  
  <pre><code>SearchResponse response = client.prepareSearch("locations")
                  .setQuery(QueryBuilders.matchQuery("title", "Berlin"))
                  .setFilter(FilterBuilders.termFilter("country", "DE"))
                  .execute()
                  .actionGet();
  </code></pre>
  
  <p>But this gives me too many replies, e.g. results for "Zoo Berlin" and so on. I need exact matches. </p>
  
  <p>(But please note that I have other scenarios where this substring/text search matching is desired.) </p>
  
  <p>Is there a way to decide at querying time, rather than at indexing time which behaviour (exact vs. analyzed text) one wants?</p>