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 2014/03/11 19:40:07 UTC
[jira] [Updated] (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:all-tabpanel ]
Garren Smith updated COUCHDB-2188:
----------------------------------
Labels: advanced (was: )
> 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)