Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 80721 invoked from network); 2 Feb 2010 10:30:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Feb 2010 10:30:56 -0000 Received: (qmail 29632 invoked by uid 500); 2 Feb 2010 10:30:55 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 29555 invoked by uid 500); 2 Feb 2010 10:30:55 -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 29545 invoked by uid 99); 2 Feb 2010 10:30:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 10:30:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mrtrick@gmail.com designates 209.85.218.218 as permitted sender) Received: from [209.85.218.218] (HELO mail-bw0-f218.google.com) (209.85.218.218) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 10:30:48 +0000 Received: by bwz10 with SMTP id 10so995649bwz.35 for ; Tue, 02 Feb 2010 02:30:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=swpdn+89SlI8MlKP0udk51h1UCpgI6LflJwoeFEM7xg=; b=G1A4T32QYJkYlytfrkpLcl59/HdGcL6XN+02u/jMA4krlIcdxvGnKrryYzI0c7CkyI 2K+nrbuCq5if3taKCky5LE6YdrE0DbRTtej72spm7FxliR+4ySgWl6cRr59L/DzWaWaW jzhCaqq0DhTPrmTAJA3fMxw5zljE+4R6slrJY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=QeO391rpWSpbz6ds+IJItu4sd17DFWjJ7KE67cVtXP4uE+N2mzMawrmQFKGBwO90vE aDZCLYGAjLqL89GE3IQjhnIZOAGN31989+6zmQ+bN12fMaMxZlAYI6Km7OnnWMzGUKCb flZzCWtUaIKcVBDXirt+b5yDMTlx+EGNOfTsM= MIME-Version: 1.0 Received: by 10.204.33.137 with SMTP id h9mr4149460bkd.134.1265106627096; Tue, 02 Feb 2010 02:30:27 -0800 (PST) In-Reply-To: <39d31cdc1002020224r1e28a5e8yb51e3aee0fb93a35@mail.gmail.com> References: <39d31cdc1002020224r1e28a5e8yb51e3aee0fb93a35@mail.gmail.com> Date: Tue, 2 Feb 2010 02:30:27 -0800 Message-ID: Subject: Re: solving a particular query From: Patrick Barnes To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=00032555bc661c72ab047e9b9750 --00032555bc661c72ab047e9b9750 Content-Type: text/plain; charset=ISO-8859-1 Couchdb does not do fulltext searching itself. (eg for a website's search function) For search, the generally accepted 'best' solution is couchdb-lucene - it plugs into couchdb to give you all those nifty matching features. -Patrick On 02/02/2010 9:25 PM, "Jo Giraerts" wrote: Hi, I'm just starting with couchdb and have been reading up on views. Most of the queries i want to do, i can get done with simple views, but 1 seems to escape me. I want to do something like this: SELECT * FROM blogposts WHERE title LIKE '%searchterm%' OR author LIKE '%searchterm%' OR body LIKE '%searchterm%' Is there a way to do this with views or should i resort to querying multiple views and combining the resultsets mysql? Thanks, Jo Giraerts --00032555bc661c72ab047e9b9750--