Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 847219AD for ; Thu, 28 Apr 2011 09:42:52 +0000 (UTC) Received: (qmail 29592 invoked by uid 500); 28 Apr 2011 09:42:51 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 29558 invoked by uid 500); 28 Apr 2011 09:42:50 -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 29550 invoked by uid 99); 28 Apr 2011 09:42:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2011 09:42:50 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [217.111.120.9] (HELO mailout01.rmx.de) (217.111.120.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2011 09:42:43 +0000 Received: from [172.19.16.59] (HELO kdin04.retarus.de) by mailout01.rmx.de (CommuniGate Pro SMTP 5.2.13 _community_) with ESMTP id 189831596 for user@couchdb.apache.org; Thu, 28 Apr 2011 11:42:23 +0200 Received: from MAIL1.virtual-identity.net (mail.virtual-identity.com [195.226.108.10]) by kdin04.retarus.de (8.14.2/8.14.2/retarus.custom) with ESMTP id p3S9gJni000608 for ; Thu, 28 Apr 2011 11:42:19 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: total_rows:1 but rows:[] Date: Thu, 28 Apr 2011 11:42:18 +0200 Message-ID: <5BB0C5BEFECA11468B40FB51F7856E2304243C48@MAIL1.virtual-identity.net> In-Reply-To: <175051.42819.qm@web112112.mail.gq1.yahoo.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: thread-topic: total_rows:1 but rows:[] thread-index: AcwFhs8ejjE4PdpgSw2pcZYTG2a6EwAANn9A References: <5BB0C5BEFECA11468B40FB51F7856E2304243C1D@MAIL1.virtual-identity.net> <175051.42819.qm@web112112.mail.gq1.yahoo.com> From: "armin weisser" To: X-RMX-ID: 20110428-114219-p3S9gJni000608-0@kdin04 X-RMX-TRACE: 2011-04-28 11:42:20 RmxMSO@kdin04/mailcc10 [0.4s] 20110428-114219-p3S9gJni000608-0@kdin04 0:00:01 X-RMX-TRACE: 2011-04-28 11:42:20 KdIn@kdin04/mailcc10 [0.3s] 20110428-114219-p3S9gJni000608-0@kdin04 0:00:00 X-Virus-Checked: Checked by ClamAV on apache.org What do you mean with "overall rows info". Is that a config or request = param? The mapping function is very simple. "names":{ "map": "function(doc) { emit(doc.account.username, true) }" } The document looks like: { "_id":..., "_rev":..., "account {=20 "name":"a name", "pwd":" a pwd" } } The query is=20 http://localhost:5984/mydb/_design/views/_view/names?key=3D"unknown" -----Urspr=FCngliche Nachricht----- Von: N/A N/A [mailto:pressley333@yahoo.com]=20 Gesendet: Donnerstag, 28. April 2011 11:29 An: user@couchdb.apache.org Betreff: Re: total_rows:1 but rows:[] Hi, Maybe your overall rows info is 1, but your key filter doesnt match any = of them. regards, ________________________________ From: armin weisser To: user@couchdb.apache.org Sent: Thu, April 28, 2011 12:25:31 PM Subject: total_rows:1 but rows:[] Hi there, can anyone tell me why total_rows is 1 when rows is empty? I'd expect total_rows:0. Or do I miss something? {"total_rows":1,"offset":0,"rows":[]} Cheers, Armin