Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-2188

Pagination is broken if map fun emits more rows than page size is

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Fauxton
    • Committers Level (Medium to Hard)

    Description

      1. Create new database with single doc - his content doesn't matters
      2. Create the view that emits multiple rows for single doc, like:

      function(doc){
        for(var i=0; i < 20; i++){
          emit(doc._id, i);
        }
      }
      

      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

      Attachments

        Activity

          People

            garren Garren Smith
            kxepal Alexander Shorin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: