Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 1121 invoked from network); 9 Apr 2008 22:36:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Apr 2008 22:36:03 -0000 Received: (qmail 10509 invoked by uid 500); 9 Apr 2008 22:36:04 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 10363 invoked by uid 500); 9 Apr 2008 22:36:03 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 10354 invoked by uid 99); 9 Apr 2008 22:36:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Apr 2008 15:36:03 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cmlenz@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 09 Apr 2008 22:35:19 +0000 Received: (qmail invoked by alias); 09 Apr 2008 22:35:29 -0000 Received: from dslb-084-058-009-121.pools.arcor-ip.net (EHLO [192.168.1.200]) [84.58.9.121] by mail.gmx.net (mp015) with SMTP; 10 Apr 2008 00:35:29 +0200 X-Authenticated: #2618757 X-Provags-ID: V01U2FsdGVkX1/0RaA6BLX0lTXZM4jLfpRbusfTuv+ySwU7fWSCbt FNg0SyALebmz47 Message-Id: <9C3977AC-3865-4DD4-9B45-F6F5A4402072@gmx.de> From: Christopher Lenz To: couchdb-user@incubator.apache.org In-Reply-To: <200804092350.23492.sh@widetrail.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: Clarifications or bugs Date: Thu, 10 Apr 2008 00:35:29 +0200 References: <200804092350.23492.sh@widetrail.dk> X-Mailer: Apple Mail (2.919.2) X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org On 09.04.2008, at 23:50, S=F8ren Hilmer wrote: > For the code on the fulltext I have relied on a few assumptions, =20 > which on > testing does not seam to hold. > I would like to know if this is as intended or bugs. > > 1. when you filter a view, total_rows are always the total number of =20= > documents > in the view without the filter, so even if you specify say count=3D1, =20= > you get > total_rows=3D42 or something. As intended, but I'd also like to have a count of the rows after =20 filters applied. > 2. startkey_docid does not seam to work, the first document in the =20 > view is > always returned. startkey_docid needs to be combined with startkey to work correctly. I =20= don't think it's even applied when there's no startkey. Cheers, -- Christopher Lenz cmlenz at gmx.de http://www.cmlenz.net/