Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 27114 invoked from network); 31 Oct 2005 16:02:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Oct 2005 16:02:06 -0000 Received: (qmail 14639 invoked by uid 500); 31 Oct 2005 16:02:00 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 14615 invoked by uid 500); 31 Oct 2005 16:02:00 -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 14604 invoked by uid 99); 31 Oct 2005 16:02:00 -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:02:00 -0800 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [65.209.1.80] (HELO webmail.cymfony.com) (65.209.1.80) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2005 08:01:56 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Indexing Date: Mon, 31 Oct 2005 10:59:11 -0500 Message-ID: <13F36D2926AD444697093282F20041B703A65B74@buf-ex01.cymfony.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Indexing Thread-Index: AcXeM8YE1TFG7nqkQc+u4Lji+v7t4wAAALjQ From: "Peter Kim" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You need to delete the document from the index and reindex it. This is in the LuceneFAQ: http://wiki.apache.org/jakarta-lucene/LuceneFAQ#head-917dd4fc904aa20a34e bd23eb321125bdca1dea2 (or #24 under 3. Indexing) Peter=20 > -----Original Message----- > From: anushri kumar [mailto:anukumar004@yahoo.com]=20 > Sent: Monday, October 31, 2005 10:57 AM > To: lucene > Subject: Indexing >=20 > Hi, > =20 > I've 4 fields in a document ie. id, URL, modified date,=20 > contents. id is unique for each document. I wanted to know if=20 > I index a document with the same id again , will the previous=20 > document (in the index) be overwritten or do I have to delete=20 > the index for that document first and then re index the modified one.=20 > =20 > Thanks, > Anu=20 >=20 > =09 > --------------------------------- > Yahoo! FareChase - Search multiple travel sites in one click. =20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org