Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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

#351

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.

Reported by Travis Bell · February 6th, 2014 @ 09:07 AM

State: resolved
Milestone: Frozen
Assigned to: Travis Bell Travis Bell

Activity

  1. Travis Bell
    Travis Bell
    • State changed from new to started

    February 7th, 2014 @ 09:08 AM

  2. Travis Bell
    Travis Bell
    • State changed from started to resolved

    February 7th, 2014 @ 09:50 AM

  3. Michael Roterman
    Michael Roterman

    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?

    March 4th, 2014 @ 04:11 PM

  4. Travis Bell
    Travis Bell

    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 Add a list of status codes to the documentation 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
    

    March 11th, 2014 @ 09:13 AM

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.