3

There's a problem with requesting more than 10,000 items.

  • With Stack Overflow it works just fine.
  • But with Super User, Server Fault, etc. no items are returned for requests for items after the 10,000th and has_more is erroneously set to false.
  • It doesn't matter whether page and pagesize are both 100 or page is 200 and pagesize is 50.

For example, this works:
    /2.2/search/excerpts?page=199&pagesize=50&q=security&site=serverfault

and has_more is true.

But this fails:
    /2.2/search/excerpts?page=200&pagesize=50&q=security&site=serverfault

and has_more is (incorrectly) false.

Reference this live site search, which shows 28,846 questions that should match.

Is this a bug or am I missing something?

  • Confirmed. That's a bug and also applies to to all three /search routes and probably also to the /similar route. – Brock Adams May 27 '18 at 19:01
  • Still fails in API version 2.3 (which is live but not officially released). – Brock Adams Dec 22 '18 at 19:46
2

This was a search issue in elastic (max_result_window) that has now been tuned across the network.

See, also, this related Q&A on Meta SE.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .