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

endkey ignored when inclusive_end=false for reduce view calls

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0, 1.0.1, 1.0.2
    • 1.0.3, 1.1
    • None
    • None

    Description

      curl 'localhost:5984/db1/_design/cl-test/_view/foo?group=true&descending=false&startkey=4&endkey=6&inclusive_end=true'

      {"rows":[ {"key":4,"value":18}

      ,

      {"key":5,"value":18}

      ,

      {"key":6,"value":17}

      ]}

      curl 'localhost:5984/db1/_design/cl-test/_view/foo?group=true&descending=false&startkey=4&endkey=6&inclusive_end=false'

      {"rows":[ {"key":4,"value":18}

      ,

      {"key":5,"value":18}

      ,

      {"key":6,"value":17}

      ,

      {"key":7,"value":17}

      ,

      {"key":8,"value":17}

      ,

      {"key":9,"value":17}

      ]}

      Attachments

        Issue Links

          Activity

            People

              rnewson Robert Newson
              rnewson Robert Newson
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: