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

endkey ignored when inclusive_end=false for reduce view calls

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0, 1.0.1, 1.0.2
    • Fix Version/s: 1.0.3, 1.1
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: