From user-return-2115-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Fri Dec 12 20:59:49 2008 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 44265 invoked from network); 12 Dec 2008 20:59:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Dec 2008 20:59:49 -0000 Received: (qmail 89098 invoked by uid 500); 12 Dec 2008 21:00:01 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 88855 invoked by uid 500); 12 Dec 2008 21:00:00 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 88844 invoked by uid 500); 12 Dec 2008 21:00:00 -0000 Delivered-To: apmail-incubator-couchdb-user@incubator.apache.org Received: (qmail 88841 invoked by uid 99); 12 Dec 2008 21:00:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2008 13:00:00 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of paul.p.carey@gmail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2008 20:59:46 +0000 Received: by ug-out-1314.google.com with SMTP id 36so446184uga.17 for ; Fri, 12 Dec 2008 12:59:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=Qt2xWXNKuCW70h64WuzINJ2HGGuRJpLOzzc3E3Gp9YU=; b=m4BIPF7loKYOSVuYk4YdMxpQn0Hkr5yri0Z2ulqMRF9s6m1vFfAaFdK07ta8+XTGOz aYFF0fRbGSyKQD3nVmXW2wLlLVkswMyFFqGQaJuEwtKChrwQyp7R4Od7DO0dzWO7eEr9 dvH0AATzXvXdltC7KApfKpar6lnmbpqkWhaiI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=TO7NDwFxv1EfFI6B0XKB1zB4uMX0G3kykzx6E4vtP4cqFOXmAmYE7NfOYeaiEX/jhB anhALqnkwz6PiHV1P4tKW/SmaMlz4kDOf+wSdHbBeR/Y6nn3qOfQOgDPQEASt0F/dtRC v2Jn9r6eKQxlXmQvAh1NmG65ffqSAKTUrYbrU= Received: by 10.67.10.18 with SMTP id n18mr49933ugi.45.1229115565495; Fri, 12 Dec 2008 12:59:25 -0800 (PST) Received: by 10.67.27.6 with HTTP; Fri, 12 Dec 2008 12:59:25 -0800 (PST) Message-ID: <13ae4dd50812121259r492a925dkf7ee9fe8388a0868@mail.gmail.com> Date: Fri, 12 Dec 2008 20:59:25 +0000 From: "Paul Carey" To: couchdb-user@incubator.apache.org Subject: Array key queries MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Querying with an array based key produces inconsistent results across different key indexes. For example, consider a view that emits the following keys [0, 0] [0, 1] [1, 0] [1, 1] Querying with startkey=[0, null] and endkey=[0, {}] returns [0, 0] [0, 1] However, querying with startkey=[null, 0] and endkey=[{}, 0] does not return [0, 0] [1, 0] Instead, all rows are returned. Is this the expected behaviour? Thanks Paul