Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 51723 invoked from network); 23 Feb 2006 08:45:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Feb 2006 08:45:44 -0000 Received: (qmail 35216 invoked by uid 500); 23 Feb 2006 08:45:40 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 35197 invoked by uid 500); 23 Feb 2006 08:45:40 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 35183 invoked by uid 99); 23 Feb 2006 08:45:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2006 00:45:40 -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 [203.77.198.86] (HELO mail.i-link.co.in) (203.77.198.86) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2006 00:45:39 -0800 Received: from ilink024 ([192.168.0.24]) by mail.i-link.co.in (8.11.6/8.11.6) with ESMTP id k1N8jaK03865 for ; Thu, 23 Feb 2006 14:15:36 +0530 Message-Id: <200602230845.k1N8jaK03865@mail.i-link.co.in> From: "samir" To: Subject: RE: need help on updating index Date: Thu, 23 Feb 2006 14:15:37 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <83BED4B8-D083-4FE2-9F08-594B58DAF57B@ehatchersolutions.com> Thread-Index: AcY4Ukafm0XRzRB7SbCm8qZXvtUtJQAAy8NQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Erik, Thank you very much for a prompt reply Regards Samir -----Original Message----- From: Erik Hatcher [mailto:erik@ehatchersolutions.com] Sent: 23 February 2006 13:52 To: java-dev@lucene.apache.org Subject: Re: need help on updating index On Feb 23, 2006, at 2:53 AM, samir wrote: > I have one document in the index. > If that document is only renamed but its content is same as before > then can > I update the index. > As the Book Lucene in Action says that Lucene doesn't have any > thing like > update(...) method. And for updating one need to delete the old > document and > add the new document. > Is it the only solution? Yes, delete/add is the only solution to "update". Erik --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org