#351 ✓resolved
Travis Bell

Limit pages on Solr requests (top rated, popular, now playing, upcoming)

Reported by Travis Bell | 2014-02-06 09:07:08 UTC | in Frozen (closed)

Turns out Solr has pretty bad pagination performance once you get into the thousand(s) page range. Known issue that looks like it might be improved/fixed in Solr 4.7. Until we update, we're going to have to limit them.

Comments and changes to this ticket

  • Travis Bell

    Travis Bell 2014-02-07 09:08:28 UTC

    • State changed from “new” to “started”
  • Travis Bell

    Travis Bell 2014-02-07 09:50:09 UTC

    • State changed from “started” to “resolved”
  • Michael Roterman

    Michael Roterman 2014-03-04 16:11:43 UTC

    How does this change affect implementations, should pages above a certain number throw an exception or is a specific message sent back from the API?

  • Travis Bell

    Travis Bell 2014-03-11 09:13:05 UTC

    As per the documentation, the max page count we support is 1000. You'll be able to see all of the possible error codes when I get ticket #352 completed. It's scheduled for today.

    In the meantime if you were curious, make a request to page 1001:

    http://api.themoviedb.org/3/movie/popular?api_key=###&page=1001
    

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Tags

Pages