Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 53606 invoked from network); 25 Feb 2010 17:42:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Feb 2010 17:42:28 -0000 Received: (qmail 37636 invoked by uid 500); 25 Feb 2010 17:42:27 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 37598 invoked by uid 500); 25 Feb 2010 17:42:27 -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 37590 invoked by uid 99); 25 Feb 2010 17:42:27 -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 17:42:27 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of robert.newson@gmail.com designates 74.125.82.52 as permitted sender) Received: from [74.125.82.52] (HELO mail-ww0-f52.google.com) (74.125.82.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 17:42:21 +0000 Received: by wwe15 with SMTP id 15so1485913wwe.11 for ; Thu, 25 Feb 2010 09:41:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=PUEikPZOdUc/kIe4Hnk8VSJPJhq83HlIw26lHryEVHE=; b=P12YkgWIBVgnaJxIWN6ByVVAyZx4v1fzmUqhjNQXvkfmHUkFsdbmGE817d5a7Ae5SV 4w0T4hw9JJYNmbnNlcc/Wk5xu4GKKZQw564uqoXzhZP+W/Nbt02/BbaELprM6Xh4t3oZ EcoPV4JVDT0e+mJV7/b8TWvuyMO677NcHULyg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=BfhiWsBEsvTKS9QXUtqJ5jHlTdzkAx8o0vascgejuAOOvRqjHHus8t7wT1kk1zP6ek aNCUUXADz5lQ/MgtbQjDDZ210beyBcZMtW/kqWqUYrTV+l/Kam0o5wJcuvUG5y0WUOLj Xthi6jupnegTq7gd9/rRTawh7HVZHa7NZfAK8= MIME-Version: 1.0 Received: by 10.216.86.210 with SMTP id w60mr972526wee.48.1267119718153; Thu, 25 Feb 2010 09:41:58 -0800 (PST) In-Reply-To: References: Date: Thu, 25 Feb 2010 12:41:57 -0500 Message-ID: <46aeb24f1002250941l7640bfa1kbd4f6b695a66caa8@mail.gmail.com> Subject: Re: Help with couchdb-lucene From: Robert Newson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Bruno, First, verify you have the latest couchdb-external-hook.py in there, there was an encoding bug a while back that's been fixed. If that doesn't work, let me know your OS and versions of all relevant software, perhaps there's another encoding problem lurking. B. On Thu, Feb 25, 2010 at 10:44 AM, Bruno Ronchetti wrote: > Hi Robert, =A0thanks for your kind reply. > > I have done as you advised and removed the update_notification from the i= ni. > > After restarting I query the db with: > > curl =A0http://127.0.0.1:5984/pbo_documents/_fti/fulltext/by_content?q=3D= pippo > > For reference my view continues to be: > { > =A0 "_id": "_design/fulltext", > =A0 "_rev": "7-0d7cc995c51f36af49af2bfe18213f27", > =A0 "language": "javascript", > =A0 "fulltext": { > =A0 =A0 =A0 "by_content": { > =A0 =A0 =A0 =A0 =A0 "index": "function(doc) { =A0var ret=3Dnew Document()= ; =A0ret.add(doc.name); =A0return ret;}" > =A0 =A0 =A0 } > =A0 } > } > > I hope the mapping of the view name etc is correct. > > But I only get back: > > {"error":"{bad_return_value,{os_process_error,{exit_status,1}}}","reason"= :"{gen_server,call, > =A0 =A0 =A0 =A0 =A0 =A0[<0.7408.0>, > =A0 =A0 =A0 =A0 =A0 =A0 {execute,{[{<<\"info\">>, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {[{db_name,<<\"pbo_docume= nts\">>}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {doc_count,19}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {doc_del_count,0}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {update_seq,44}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {purge_seq,0}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {compact_running,fals= e}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {disk_size,180313}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {instance_start_time,= <<\"1267109674800303\">>}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {disk_format_version,= 4}]}}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{<<\"id\">>,null}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{<<\"method\">>,'GET'}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{<<\"path\">>, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [<<\"pbo_documents\">>,<<= \"_fti\">>,<<\"fulltext\">>, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<<\"by_content\">>]}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{<<\"query\">>,{[{<<\"q\">= >,<<\"pippo\">>}]}}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{<<\"headers\">>, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {[{<<\"Accept\">>,<<\"*/*= \">>}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {<<\"Host\">>,<<\"127= .0.0.1:5984\">>}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {<<\"User-Agent\">>, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <<\"curl/7.19.7 (i386= -apple-darwin10.2.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3\">>}]}}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{<<\"body\">>,undefined}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{<<\"peer\">>,<<\"127.0.0.= 1\">>}, =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{<<\"form\">>,{[]}},= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{<<\"cookie\">>,{[]}}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{<<\"userCtx\">>, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {[{<<\"db\">>,<<\"pbo_doc= uments\">>}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {<<\"name\">>,null}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {<<\"roles\">>,[<<\"_= admin\">>]}]}}]}}, > =A0 =A0 =A0 =A0 =A0 =A0 infinity]}"} > > Hmmm. Couchdb apparently points to the right db (pbo_documents) but stops= somewhere down the road. > > What I am doing wrong? > > Thanks in advance and again congrats fro the great software. > > Regards. Bruno. > > > >