Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 26946 invoked from network); 31 Oct 2005 16:01:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Oct 2005 16:01:36 -0000 Received: (qmail 13606 invoked by uid 500); 31 Oct 2005 16:01:31 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 13363 invoked by uid 500); 31 Oct 2005 16:01:30 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 13352 invoked by uid 99); 31 Oct 2005 16:01:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2005 08:01:29 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [217.20.168.25] (HELO uar.i-hypergrid.com) (217.20.168.25) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2005 08:01:25 -0800 Received: from [192.168.0.86] (vbychkoviak.jforce [192.168.0.86]) by uar.i-hypergrid.com (Postfix) with ESMTP id 35B181B59C for ; Mon, 31 Oct 2005 18:01:06 +0200 (EET) Message-ID: <43663FC2.3060509@i-hypergrid.com> Date: Mon, 31 Oct 2005 18:01:06 +0200 From: Volodymyr Bychkoviak User-Agent: Thunderbird 1.4.1 (Windows/20051006) MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Re: Indexing References: <20051031155654.82391.qmail@web53905.mail.yahoo.com> In-Reply-To: <20051031155654.82391.qmail@web53905.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N you have to delete doc with id and re-add it. if index is updated continuously then you should batch your updates (first delete all old docs and then add new docs) anushri kumar wrote: > Hi, > > I've 4 fields in a document ie. id, URL, modified date, contents. id is unique for each document. I wanted to know if I index a document with the same id again , will the previous document (in the index) be overwritten or do I have to delete the index for that document first and then re index the modified one. > > Thanks, > Anu > > > --------------------------------- > Yahoo! FareChase - Search multiple travel sites in one click. > -- regards, Volodymyr Bychkoviak --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org