title: Filtered Query in Elasticsearch Java API
body: <p>I am little bit confused while creating Filtered query in Elasticsearch Java API.
  SearchRequestBuilder class has setPostFilter method, javadoc of this method clearly says that filter will be applied after Query is executed.</p>
  
  <p>However, there is no setFilter method Or some other method which will allow to apply filter before<br>
  query is executed. How do I create filtered Query(which basically applies filter before query is executed) here? Am I missing something?</p>