Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 11304 invoked from network); 15 Sep 2009 14:53:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Sep 2009 14:53:04 -0000 Received: (qmail 57176 invoked by uid 500); 15 Sep 2009 14:53:03 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 57144 invoked by uid 500); 15 Sep 2009 14:53:03 -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 57097 invoked by uid 99); 15 Sep 2009 14:53:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2009 14:53:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [216.150.195.222] (HELO mx-smtp-02.ittvis.com) (216.150.195.222) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2009 14:52:53 +0000 Received: from localhost (mx-smtp-02 [127.0.0.1]) by mx-smtp-02.ittvis.com (Postfix) with ESMTP id A6E932402D for ; Tue, 15 Sep 2009 08:25:02 -0600 (MDT) Received: from mx-smtp-02.ittvis.com ([127.0.0.1]) by localhost (mx-smtp-02.ittvis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13446-05 for ; Tue, 15 Sep 2009 08:25:02 -0600 (MDT) Received: from av-smtp-02.ittvis.com (av-smtp-02.ittvis.com [10.17.10.82]) by mx-smtp-02.ittvis.com (Postfix) with ESMTP id 6951824028 for ; Tue, 15 Sep 2009 08:25:02 -0600 (MDT) Received: from gemini.rsinc.com ([10.17.10.66]) by apollo.rsinc.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 08:51:36 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Lucene uninstall Date: Tue, 15 Sep 2009 08:50:30 -0600 Message-ID: In-Reply-To: <46aeb24f0909141622k73d05035jd92492820e24e0f5@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Lucene uninstall thread-index: Aco1kl6AXqMiGRuHQOOnAFiUAYiWsgAgQLdQ References: <46aeb24f0909141622k73d05035jd92492820e24e0f5@mail.gmail.com> From: "Michael McCaffrey" To: X-OriginalArrivalTime: 15 Sep 2009 14:51:36.0903 (UTC) FILETIME=[06749570:01CA3614] X-Virus-Checked: Checked by ClamAV on apache.org I'm using lucene 0.4. I'll try deleting the directory. Thanks -----Original Message----- From: Robert Newson [mailto:robert.newson@gmail.com]=20 Sent: Monday, September 14, 2009 5:22 PM To: user@couchdb.apache.org Subject: Re: Lucene uninstall What version of couchdb-lucene are you using? The simplest way to clear this if it's not happening automatically (which it should), is to stop couchdb, delete the lucene/ directory, and restart. The index will be rebuilt. B. On Mon, Sep 14, 2009 at 6:11 PM, Michael McCaffrey wrote: > Something strange happening with my lucene install. > > > > I started out by installing the fulltext:by_subject function per the > install which worked fine. > > > > I then changed the design document to remove the by_subject and added > two functions that reference fields in my documents. > > > > For some reason the two new functions and the deleted by_subject > function are now available after restarting couch. > > > > The by_subject function is no longer in the design doc when looking in > futon but can still be queried. > > > > Seems it's stuck in there somewhere. Is there somehow to clear it? > > > > Design doc > > =A0 "fulltext": { > > =A0 =A0 =A0 "by_description": { > > =A0 =A0 =A0 =A0 =A0 "defaults": { > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 "store": "yes" > > =A0 =A0 =A0 =A0 =A0 }, > > =A0 =A0 =A0 =A0 =A0 "index": "function(doc) > > =A0 =A0 =A0 =A0 =A0 { if (doc.description) > > =A0 =A0 =A0 =A0 =A0 =A0 { > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0var ret=3Dnew Document(); > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ret.add(doc.description); > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0return ret ; > > =A0 =A0 =A0 =A0 =A0 =A0 } > > =A0 =A0 =A0 =A0 =A0 =A0 }" > > =A0 =A0 =A0 }, > > =A0 =A0 =A0 "by_title": { > > =A0 =A0 =A0 =A0 =A0 "defaults": { > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 "store": "yes" > > =A0 =A0 =A0 =A0 =A0 }, > > =A0 =A0 =A0 =A0 =A0 "index": "function(doc) > > =A0 =A0 =A0 =A0 =A0 { if (doc.title) > > =A0 =A0 =A0 =A0 =A0 =A0 { > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0var ret=3Dnew Document(); > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ret.add(doc.title); > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0return ret ; > > =A0 =A0 =A0 =A0 =A0 =A0 } > > =A0 =A0 =A0 =A0 =A0 =A0 }" > > =A0 =A0 =A0 } > > =A0 } > > > > > > Thanks > > > > Mike > >