Supply a pagination class #198

Open
robhudson opened this Issue Jan 24, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@robhudson
Member

robhudson commented Jan 24, 2014

In Marketplace we have a special paginator that looks at the total count returned in the ES response and use it for the Django paginator (vs doing 2 queries -- a count query then the real query). This might be a useful thing to include in elasticutils.

Update:
Our pagination class is now here:
https://github.com/mozilla/zamboni/blob/master/mkt/api/paginator.py

@willkg willkg added this to the 0.10 milestone Mar 1, 2014

@willkg willkg modified the milestone: 0.10 May 20, 2014

@willkg

This comment has been minimized.

Show comment Hide comment
@willkg

willkg May 30, 2014

Member

I like this idea, but I'm going to push it off until post 0.10.

Member

willkg commented May 30, 2014

I like this idea, but I'm going to push it off until post 0.10.

@willkg willkg removed this from the 0.10 milestone May 30, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment