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

key param doesn't work with reducing views

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.1
    • 1.0.2, 1.1
    • HTTP Interface
    • None

    Description

      I have a reducing view which has date-based keys (["2010"] or ["2010", "09"] or ["2010", "09", "07"]).

      reduce=true&group_level=2&startkey=["2010","09"]&limit=1 gives me {"rows":[{"key":["2010","09"],"value":

      {...}

      ]}.
      reduce=true&group_level=2&key=["2010", "09"] gives me

      {"rows":[]}

      .

      This seems wrong.

      Attachments

        Activity

          People

            Unassigned Unassigned
            djc Dirkjan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: