Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 37581 invoked from network); 20 Mar 2002 20:29:54 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 20 Mar 2002 20:29:53 -0000 Received: (qmail 25727 invoked by uid 97); 20 Mar 2002 20:28:10 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 25694 invoked by uid 97); 20 Mar 2002 20:28:09 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 25649 invoked from network); 20 Mar 2002 20:28:08 -0000 Mime-Version: 1.0 X-Sender: ykingma@pop.xs4all.nl Message-Id: In-Reply-To: <20020320.7141993@blackbox.net> References: <20020320.7141993@blackbox.net> Date: Wed, 20 Mar 2002 21:34:42 +0100 To: "Lucene Users List" From: Ype Kingma Subject: Re: Question Deleting/Reindexing Files Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Joe, >Hi, > >I am using Lucene for indexing a relatively large article based system where articles change from time to time so i have to reindex them. reindexing had the effekt that a query would return the hit for a file multiple times (according to the number of updates. > >The only solution to that problem I found was to delete the file to be updated before indexing it again. Is there another possibility ? You can add a counter or a date to your documents, in the same field as your document identifier or in another field. This allows more flexibility in deleting old documents, but you'll have to design a condition to remove old docs yourself. Regards, Ype -- -- To unsubscribe, e-mail: For additional commands, e-mail: