Limit pages on Solr requests (top rated, popular, now playing, upcoming)
Reported by Travis Bell | February 6th, 2014 @ 09:07 AM | 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 February 7th, 2014 @ 09:08 AM
- State changed from new to started
-
Travis Bell February 7th, 2014 @ 09:50 AM
- State changed from started to resolved
-
Michael Roterman March 4th, 2014 @ 04:11 PM
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 March 11th, 2014 @ 09:13 AM
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »