From user-return-13440-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Mon Nov 01 22:54:30 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 3179 invoked from network); 1 Nov 2010 22:54:30 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Nov 2010 22:54:30 -0000 Received: (qmail 14082 invoked by uid 500); 1 Nov 2010 22:55:00 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 14052 invoked by uid 500); 1 Nov 2010 22:55: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 14039 invoked by uid 99); 1 Nov 2010 22:55:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 22:55:00 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [145.58.30.184] (HELO out1a.mail.omroep.nl) (145.58.30.184) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 22:54:52 +0000 Received: from localhost (ou1aclean [10.10.30.156]) by out1a.mail.omroep.nl (Postfix MTA - NPO ICT) with ESMTP id 731843C000AF for ; Mon, 1 Nov 2010 23:54:32 +0100 (CET) X-Virus-Scanned: NPO ICT Received: from tweehoog.vpro.nl (tweehoog.vpro.nl [145.58.169.4]) by out1a.mail.omroep.nl (Postfix MTA - NPO ICT) with ESMTP id 585A33C0009C for ; Mon, 1 Nov 2010 23:54:32 +0100 (CET) Received: from exmail.vpro.nl ([145.58.171.81] helo=VS-EX-01.intra.vpro.nl) by tweehoog.vpro.nl with esmtp (Exim 3.36 #1) id 1PD3Gq-0001Fb-00 for user@couchdb.apache.org; Mon, 01 Nov 2010 23:54:32 +0100 Received: from VS-EX-01.intra.vpro.nl ([145.58.171.81]) by VS-EX-01.intra.vpro.nl ([145.58.171.81]) with mapi; Mon, 1 Nov 2010 23:54:31 +0100 From: Nils Breunese To: "user@couchdb.apache.org" Date: Mon, 1 Nov 2010 23:53:45 +0100 Subject: RE: Complex keys and ranges Thread-Topic: Complex keys and ranges Thread-Index: Act58A4hgOqAFDIhSB63KCPpLJ24ZwAJ5Vnr Message-ID: References: <4CCEF12B.8060508@free.fr> ,<4CCF0269.8040400@free.fr> In-Reply-To: <4CCF0269.8040400@free.fr> Accept-Language: nl-NL Content-Language: nl-NL X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: nl-NL Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org You can do AND queries using standard views. You can't do OR queries that w= ay. Check out couchdb-lucene: http://github.com/rnewson/couchdb-lucene Nils. ________________________________________ Van: cdr53x [cdr53x@free.fr] Verzonden: maandag 1 november 2010 19:09 Aan: user@couchdb.apache.org Onderwerp: Re: Complex keys and ranges On 11/01/2010 06:10 PM, Paul Davis wrote: > In short, no, its not possible to filter on multiple members of an > object key. Ok, that is sad, but clear enough ;) > Also note that it's "startkey" and "endkey", not "start_key" nor "end_key= ". > > Yes of course, just a typo in my message Thanks for your answers. Actually I thought that maybe complex key could be used in order to perform a query with multiple criterias. But it seems that the only way of having such an "intersection" would be to use the "multiview" feature, when and if ever it is functional ... BTW are there any news on the progress of this module and possible integration in the couch trunk ? Regards, cdrx ------------------------------------------------------------------------ VPRO phone: +31(0)356712911 e-mail: info@vpro.nl web: www.vpro.nl ------------------------------------------------------------------------