couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From garrensmith <>
Subject [GitHub] couchdb pull request: Fauxton pagination using skip
Date Tue, 25 Mar 2014 16:01:08 GMT
GitHub user garrensmith opened a pull request:

    Fauxton pagination using skip

    This is a new version of pagination in Fauxton using skip. It uses a `PagingCollection`
that has the main algorithm for pagination and exposes a nice api.
    This is an intermediate step as this is a much better pagination than we have at the moment.
However using just skip for pagination is not optimal as there are two cases where skip pagination
fails - For very large skips and for when documents that a user have paginated past have been
    The next step once this has landed will be to add in a `startkey_docid` pagination as
well. The PagingCollection would then decided which method to use to paginate for an index.

You can merge this pull request into a Git repository by running:

    $ git pull skip-paginate

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #194
commit 6122e15456f3edceca093e83ea68218c0cc2a696
Author: Garren Smith <>
Date:   2014-03-20T07:46:59Z

    First change

commit bc1e9194ee0313310e479c977944ed8daad72d81
Author: Garren Smith <>
Date:   2014-03-20T15:53:26Z

    Basic implementation of new pagination for views

commit b83a989ec64e018586291ca863b6d69269877fdd
Author: Garren Smith <>
Date:   2014-03-24T13:59:15Z

    Integrating paging

commit 8c6db97f215c3849f6ee8d75beccf5426d365ee2
Author: Garren Smith <>
Date:   2014-03-24T15:39:02Z

    More work on pagination

commit bec06b6dbffdbfec4947a3d5366ea3ad80ced38d
Author: Garren Smith <>
Date:   2014-03-25T08:53:41Z

    Improvements to querying and json parsing

commit fbb3a6fa6e21256dc9f98a0298bb982bd4a4e607
Author: Garren Smith <>
Date:   2014-03-25T09:50:59Z

    Add updated pagingcollection


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message