title: elastic search filtering based on filtering results
body: <p>Is it possible to filter the documents based on the results of another filter ?</p>
  
  <p>For example if I filter documents on</p>
  
  <pre><code>"_source": [ "animalName" ],
  { "term":  { "animalType": "dog" }}
  </code></pre>
  
  <p>How can I filter select all the animals that have the name as a dog ?</p>