You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Garren Smith (JIRA)" <ji...@apache.org> on 2015/03/03 15:56:04 UTC

[jira] [Commented] (COUCHDB-2188) Pagination is broken if map fun emits more rows than page size is

    [ https://issues.apache.org/jira/browse/COUCHDB-2188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345170#comment-14345170 ] 

Garren Smith commented on COUCHDB-2188:
---------------------------------------

[~kxepal] can you check this. But I think this should be fixed now.

> 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.3.4#6332)