incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <>
Subject Re: clucene and couchdb
Date Fri, 04 Jun 2010 21:49:46 GMT
Everything I have testwise is at

I understand the reluctance to pull in the Java Virtual Machine just
to use Lucene but, in my experience, there's no other comparable
library for features or performance, including clucene. I'd love to
see performance comparison numbers, though. I last benchmarked Java
Lucene vs clucene many years ago (clucene had the edge) but that was
pre-1.5 JVM technology. I think Java is way out in front now.


On Fri, Jun 4, 2010 at 10:44 PM, Norman Barker <> wrote:
> Robert,
> thanks, that makes sense I will do an eval on the design document
> functions. Do you have test cases for Java Lucene and CouchDB that I
> could use for comparison?
> I think a lot of people will want to use Java Lucene since CLucene is
> behind Lucene (CLucene is always catching up) but I can't always use
> Java and it will be good to do a comparison.
> thanks,
> Norman
> On Fri, Jun 4, 2010 at 3:34 PM, Robert Newson <> wrote:
>> The reason couchdb-lucene requires you to write a javascript function
>> is that there is no single mapping from a couchdb document to a Lucene
>> Document that suits everyone.
>> B.
>> On Fri, Jun 4, 2010 at 10:31 PM, Norman Barker <> wrote:
>>> Hi,
>>> I am writing a clucene indexer for CouchDB, I have
>>> update_notifications and _fti as a db handler working. I am using
>>> stdout/stdin for the communication and it is looking good.
>>> Looking at I see that
>>> the index property in the design document is a javascript function and
>>> I am wondering why? For views I can understand why you would want to
>>> do an evaluation but for Lucene could we just use a JSON Path
>>> reference?
>>> Thoughts appreciated, since I am in C++ and SpiderMonkey is available
>>> I could do an eval of the javascript, but it might be easier just to
>>> parse the JSON path.
>>> We will be putting this CLucene implementation in the public domain
>>> once I have cleared the necessary internal paperwork.
>>> CLucene is dual license (Apache and LGPL) and I am using Cajun (BSD)
>>> for the JSON parsing so should I host this separately or take out a
>>> JIRA ticket to have it included in CouchDB?
>>> thanks,
>>> Norman

View raw message