title: Limit the number of results returned by Elastic Search
body: <p>I am having an issue where i want to reduce the number of results from Elastic search to 1,000 no matter how many matching results are there matching, but this should not affect the ranking and scoring.</p>
  
  <p>I was trying <code>terminate_after</code>, but that seems to just tell the elastic search to just get the top N results without considering the scores. Correct me if am wrong.</p>
  
  <p>Any help on this?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I am already using pagination. So, using Size in <a href="https://www.elastic.co/guide/en/elasticsearch/reference/5.1/search-request-from-size.html#search-request-from-size" rel="noreferrer">From/Size</a> will only affect the size of current page. But i want to limit the size of total results to 1,000 and then pagination on that.</p>