title: Elastic Search and "sub queries"
body: <p>Can you perform a subquery in Elastic Search?</p>
  
  <p>I am finding a list of documents (usually about 5-20 documents). For each of the documents I'd like to perform a search to come up with some custom fields for them.</p>
  
  <p>Each document is a property, and, I want to analyze surrounding properties for each property found in order to evaluate the average price of properties around it.</p>
  
  <p>Thanks</p>