couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Barnes <mrtr...@gmail.com>
Subject Re: solving a particular query
Date Tue, 02 Feb 2010 10:30:27 GMT
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" <whachoe@gmail.com> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message