Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 90133 invoked from network); 25 Feb 2010 11:12:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Feb 2010 11:12:36 -0000 Received: (qmail 81260 invoked by uid 500); 25 Feb 2010 11:12:35 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 81220 invoked by uid 500); 25 Feb 2010 11:12:35 -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 81201 invoked by uid 99); 25 Feb 2010 11:12:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 11:12:35 +0000 X-ASF-Spam-Status: No, hits=2.7 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bruno.ronchetti@mac.com designates 17.148.16.102 as permitted sender) Received: from [17.148.16.102] (HELO asmtpout027.mac.com) (17.148.16.102) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 11:12:28 +0000 MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_ousXsmzJ4GU3x3mCmRHChQ)" Received: from [192.168.1.2] ([95.237.208.21]) by asmtp027.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KYE006YC9REC450@asmtp027.mac.com> for user@couchdb.apache.org; Thu, 25 Feb 2010 03:11:41 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1002250048 From: Bruno Ronchetti Subject: Help with couchdb-lucene Date: Thu, 25 Feb 2010 12:12:27 +0100 Message-id: To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1077) --Boundary_(ID_ousXsmzJ4GU3x3mCmRHChQ) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Hi everyone, I am sort of a beginner and was trying my hand at couchdb-lucene. I have followed instructions on github and on various blog pages around, but now I am kind of stuck. Here is where I am: COUCHDB I guess I am ok here, since i have been playing around with it for a while. I am on version {"couchdb":"Welcome","version":"0.11.0b902541"} COUCHDB-LUCENE I have installed it following instructions on github and it seems to be running. When I curl 'http://127.0.0.1:5985' I get the (seemingly satisfactory) response: {"couchdb-lucene":"Welcome","version":"0.5.0"}. I have build a fulltext indexing view like that: { "_id": "_design/fulltext", "_rev": "7-0d7cc995c51f36af49af2bfe18213f27", "language": "javascript", "fulltext": { "by_content": { "index": "function(doc) { var ret=new Document(); ret.add(doc.name); return ret;}" } } } and my document contain a "name" property. Where I suspect things fail is in the hookup of couchdb and couchdb-lucene. I have modified the .ini file like that: [update_notification] indexer=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java -jar /Users/brunoronchetti/couchdb-lucene/target/couchdb-lucene-0.5-SNAPSHOT.jar -index [external] fti = /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java -jar /Users/brunoronchetti/couchdb-lucene/target/couchdb-lucene-0.5-SNAPSHOT/tools/couchdb-external-hook.py [httpd_db_handlers] _fti = {couch_httpd_external, handle_external_req, <<"fti">>} but there must be something wrong in there, as nothing happens. I am even unable to find the couchdb-lucene logs (where are they supposed to be?). I have changed the permissions on the /target/...SNAPSHOT/indexes folder but I still do not see any changes. I must be doing something really stupid, but need help. And, btw, I love couchdb and think that a tight integration with lucene is the recipe to great applications and user-experience. Congratulations to everyone involved. Regards. Bruno. --Boundary_(ID_ousXsmzJ4GU3x3mCmRHChQ)--