title: ElasticSearch Multi Term Query With Java High-Level REST Client
body: <p>The <a href="https://dzone.com/articles/java-high-level-rest-client-elasticsearch" rel="nofollow noreferrer">java-high-level-rest-client</a> provides a method to search on elasticsearch using a term that Shown below its code</p>
  
  <pre><code>SearchSourceBuilder sourceBuilder = new SearchSourceBuilder(); 
  sourceBuilder.query(QueryBuilders.termQuery("user", "kimchy")); 
  </code></pre>
  
  <p>But I want to do a query on multiple fields like this: "user"="kimchy" and/or "city"="london".</p>
  
  <p>I see the <a href="https://www.elastic.co/guide/en/elasticsearch/client/java-rest/master/java-rest-high-multi-search.html" rel="nofollow noreferrer">multi-search</a> query and multi-match query but they don't do what I want.</p>
  
  <p>Thanks for the help!!</p>