couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garren Smith (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (COUCHDB-2188) Pagination is broken if map fun emits more rows than page size is
Date Tue, 11 Mar 2014 18:40:04 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-2188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Garren Smith reassigned COUCHDB-2188:
-------------------------------------

    Assignee: Garren Smith

> Pagination is broken if map fun emits more rows than page size is
> -----------------------------------------------------------------
>
>                 Key: COUCHDB-2188
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2188
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Fauxton
>            Reporter: Alexander Shorin
>            Assignee: Garren Smith
>              Labels: advanced
>
> 1. Create new database with single doc - his content doesn't matters
> 2. Create the view that emits multiple rows for single doc, like:
> {code}
> function(doc){
>   for(var i=0; i < 20; i++){
>     emit(doc._id, i);
>   }
> }
> {code}
> Yes, too synthetic, but you got the idea. 
> 3. Try to navigate thought results with page size 5 and 10 - you'll always browse the
same content
> Fauxton @ [4e60f0b|https://git-wip-us.apache.org/repos/asf?p=couchdb.git;a=commit;h=4e60f0b]



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message