From user-return-15414-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Thu Mar 24 15:38:14 2011 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 57038 invoked from network); 24 Mar 2011 15:38:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Mar 2011 15:38:14 -0000 Received: (qmail 9803 invoked by uid 500); 24 Mar 2011 15:38:13 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 9770 invoked by uid 500); 24 Mar 2011 15:38:13 -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 9762 invoked by uid 99); 24 Mar 2011 15:38:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 15:38:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of olafura@olafura.com designates 69.89.21.11 as permitted sender) Received: from [69.89.21.11] (HELO outbound-mail-01.bluehost.com) (69.89.21.11) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 24 Mar 2011 15:38:08 +0000 Received: (qmail 25451 invoked by uid 0); 24 Mar 2011 15:37:43 -0000 Received: from unknown (HELO host301.hostmonster.com) (74.220.215.101) by cpoproxy1.bluehost.com with SMTP; 24 Mar 2011 15:37:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=olafura.com; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject:To:Content-Type:Content-Transfer-Encoding:X-Identified-User; b=HDGO05EIldDuWSvi3RTw4aXLYeL3rbIEc4CeYlqMqU60rGfg5Vd1mYX2SNZqap1hPEd0v9C0G6yf82ij/Ra4Dj9WEfCXU6iVEIwOn7fsxTSYJCG+rA2H3XA0NKOxS0B+; Received: from mail-qy0-f180.google.com ([209.85.216.180]) by host301.hostmonster.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.69) (envelope-from ) id 1Q2mba-0003fy-Ug for user@couchdb.apache.org; Thu, 24 Mar 2011 09:37:47 -0600 Received: by qyk10 with SMTP id 10so58065qyk.11 for ; Thu, 24 Mar 2011 08:37:46 -0700 (PDT) Received: by 10.229.141.13 with SMTP id k13mr7111652qcu.36.1300981066101; Thu, 24 Mar 2011 08:37:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.236.138 with HTTP; Thu, 24 Mar 2011 08:37:26 -0700 (PDT) In-Reply-To: <4D8A7FFB.5060005@cloudant.com> References: <1C449572-2BB6-450E-A408-6C7E5CEE3BE4@thenoi.se> <338D4FB2-89BB-46E8-905A-1E11E67F2E24@thenoi.se> <02465E80-B6CF-4714-8F54-01BBBD7130B8@supercoders.com.au> <4D8A7FFB.5060005@cloudant.com> From: Olafur Arason Date: Thu, 24 Mar 2011 15:37:26 +0000 Message-ID: Subject: Re: Couchdb - how to search within field or fields? To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Identified-User: {3624:host301.hostmonster.com:olafurac:olafura.com} {sentby:smtp auth 209.85.216.180 authed with olafurac} Is Cloudant Search going opensource anytime soon? Regards, Olafur Arason On Wed, Mar 23, 2011 at 23:19, David Hardtke wrote: > > No. =A0For logical queries you need a search add-on: > > couchdb-lucene: http://github.com/rnewson/couchdb-lucene > ElasticSearch: http://www.elasticsearch.com/ > Cloudant Search (hosted): > http://blog.cloudant.com/developer-preview-cloudant-search-for-couchdb/ > > On 03/23/11 15:56, Andrew Stuart (SuperCoders) wrote: >> >> hello >> >> I have emails stored in a couchdb database and have parsed the major >> fields into JSON . =A0I'd like to be able to search for emails, here are= some >> examples of the types of searches I need to do: >> >> find all emails that have "java OR c++" =A0in the subject line >> find all emails that have "graduate NOT tester" in the subject line >> find all emails received in 2011 AND have a subject line including the >> word "linux" >> find all emails that have "(graduate OR junior) NOT linux" in the subjec= t >> line >> >> Can couchdb do this? >> >> thanks > >