title: Elastic Search: Combining multiple search results
body: <p>i have a tricky case which I dont know how to solve. </p>
  
  <p>I have 2 queries: q1 and q2
  The 2 queries result in r1 and r2</p>
  
  <p>each of the results is sorted in a special order.</p>
  
  <p>As an overall search result i want to return a concatenation of r1+r2 <em>before</em> returning it to the application. </p>
  
  <p>The reason is that i would break the pagination if I do it later.</p>
  
  <p>Any idea? Its probalby an easy question but I am stuck on this...</p>
  
  <p>PS: </p>
  
  <p>we also experimented with sorting first by a priary sort criteria and then by the score.. but the score always breaks the first sort criteria somehow we cant get the score working only within its bucket. </p>