couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Albin Stigo <>
Subject Re: Full text search - is it coming? If yes, approx when.
Date Tue, 29 Mar 2011 15:57:16 GMT
Couchdb + Lucene (Elasticsearch etc.) is a really great combination
and definitely enough on the server side... IMHO what is missing is a
full text engine for Couchdb on mobile - that would be a killer...
Currently the only full text search library on mobile devices is
sqlite fts3 which is great but doesn't have replication. Maybe someone
could implement something based on sqlite fts3 which uses the changes
stream to keep in sync...?

How do you search couchdb on mobile devices?


On Tue, Mar 29, 2011 at 4:09 PM, Norman Barker <> wrote:
> Benoit,
> interesting post on Lucy, I have been monitoring that as well (and
> though no where near as good as Robert's work) I have integrated
> clucene and couchdb as I was looking for a solution that didn't use
> Java.
> I see a trend with couchdb and NIFs, what is the official standpoint
> here, test and test the c / c++ library so that any chance of bringing
> the VM down is reduced? I know with Java and JNI in an app server you
> are taking a huge risk (heartbeat works, but an app server takes
> several minutes to start up), with Erlang are you relying on the
> heartbeat service to restart the VM in case of failure?
> I am interested in helping with any NIF on top of Lucy.
> thanks,
> Norman
> On Tue, Mar 29, 2011 at 7:58 AM, Simon Metson
> <> wrote:
>> Does help
wrt. the original post? Cloudant's search is built on Lucene.
>> Cheers
>> Simon
>> Sent with Sparrow
>> On Tuesday, 29 March 2011 at 14:24, Dennis Geurts wrote:
>> Hi all,
>>> Looking at the amount of replies wrt to this topic it seems there's much interest
in full text searching.
>>> It's really hard to tell how one would expect this feature to be implemented
in couchdb in such a way that it would supersede the nice couchdb-lucene combo.
>>> That said, if you want a _really simple_ (and probably bad solution performance
wise!) fulltext search implementation, have a look at couchdb lists.
>>> You decide which _view is sent to the _list function; within the _list function
you can implement your full text search by inspecting the document data in javascript.
>>> This setup at least allows for replication of the fts functionality and might
be just enough for the OP.
>>> Cheers, dennis
>>> ----- Reply message -----
>>> From: "Zdravko Gligic" <>
>>> Date: Tue, Mar 29, 2011 13:49
>>> Subject: Full text search - is it coming? If yes, approx when.
>>> To: "" <>
>>> I have a bit tricky use case of super tagging or rather a somewhat
>>> hierarchical docs categorization. Several CouchDB gurus have suggested
>>> that I should look at Lucene and such. My problem is hosting because
>>> I would most rather go with a cloud solution such as Cloudant and
>>> forthcoming (I hope it's still forthcoming) CouchBase. Comparatively,
>>> I have very little amount of data - large number of tiny docs that are
>>> indexed every which way possible - such that the size of views dwarfs
>>> the size of docs.
>>> The full-text-searching problem is best illustrated by the
>>> full-text-searching hosting state of affairs at Cloudant and CouchBase
>>> - the only two commercial companies worth mentioning within the
>>> CouchDb community. Neither one uses Lucene out of the box and only
>>> Cloudant has their own solution. This means that I could not use a
>>> redundancy-performance perfect Master-Master replication that is
>>> hosted by both. This is why either full-text-searching needs to
>>> become CouchDb's internal first citizen or our hosting friends need to
>>> internalize and make Lucene their first class citizen.
>>> P.S. I love both but ...

View raw message