Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 62699 invoked from network); 4 Jun 2010 21:34:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Jun 2010 21:34:44 -0000 Received: (qmail 35015 invoked by uid 500); 4 Jun 2010 21:34:43 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 34944 invoked by uid 500); 4 Jun 2010 21:34:43 -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 34936 invoked by uid 99); 4 Jun 2010 21:34:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jun 2010 21:34:43 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of david.coallier@gmail.com designates 209.85.161.52 as permitted sender) Received: from [209.85.161.52] (HELO mail-fx0-f52.google.com) (209.85.161.52) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jun 2010 21:34:37 +0000 Received: by fxm19 with SMTP id 19so755403fxm.11 for ; Fri, 04 Jun 2010 14:34:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=eO38jgaSbSz9VBkCV3vVt+AdCSK6Y5Sy3OUmuIZXoJM=; b=s3AhdWzn/Tky4GLP6VZOK8cwkOPjGM3rWZ9IzMSE+nADXVLILpZGwfAIDcgR102pre G69+9OJhRnCEZqk32++mBPa+6buenLTAWF4YyjH/J7tUoNRpo5JJQDG4y/nVwzO/A0L6 KbRbD/xQ56xA3oziUETazd5MB+UImyMGLZjv0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=fYVPZN+GnPkbx1J3f37Q81ooKoYCe4AtzwwYdkmL9YWtbfxwi+3UrSWHnBbXXVRxRB 4T0IFmzdj9Oes85UamNNCaGGxGnNGoNKOt3XcsLuXSg0bPYPFP5qZWbhKlRia6+o1ynS 1k4Zv3ZGQsSXbG4Bg20d9XbR9mvXOVp77t7i0= MIME-Version: 1.0 Received: by 10.239.188.194 with SMTP id q2mr176508hbh.42.1275687256709; Fri, 04 Jun 2010 14:34:16 -0700 (PDT) Sender: david.coallier@gmail.com Received: by 10.239.150.133 with HTTP; Fri, 4 Jun 2010 14:34:16 -0700 (PDT) In-Reply-To: References: Date: Fri, 4 Jun 2010 22:34:16 +0100 X-Google-Sender-Auth: 1pRYq1dZmQjbY9OnxS_JALAjctY Message-ID: Subject: Re: clucene and couchdb From: David Coallier To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org > > 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 http://wiki.apache.org/couchdb/Full_text_search 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? > Just out of curiosity, have you seen couchdb-lucene (http://github.com/rnewson/couchdb-lucene) ? -- David Coallier