Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 35778 invoked from network); 13 Aug 2004 13:50:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Aug 2004 13:50:06 -0000 Received: (qmail 16434 invoked by uid 500); 13 Aug 2004 13:50:00 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 16258 invoked by uid 500); 13 Aug 2004 13:49:59 -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 16243 invoked by uid 99); 13 Aug 2004 13:49:58 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.228.32.72] (HELO c000.snv.cp.net) (209.228.32.72) by apache.org (qpsmtpd/0.27.1) with SMTP; Fri, 13 Aug 2004 06:49:56 -0700 Received: (cpmta 22994 invoked from network); 13 Aug 2004 06:49:55 -0700 Received: from 128.143.103.176 (HELO ?128.143.103.176?) by smtp.hatcher.net (209.228.32.72) with SMTP; 13 Aug 2004 06:49:55 -0700 X-Sent: 13 Aug 2004 13:49:55 GMT Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <01e401c48130$55553f80$2102a8c0@CUSTOZA> References: <01e401c48130$55553f80$2102a8c0@CUSTOZA> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: Erik Hatcher Subject: Re: Rename but not reindex Date: Fri, 13 Aug 2004 09:49:55 -0400 To: "Lucene Users List" X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N You have to re-index. Updating is not currently possible, at least not=20= without really low-level hacks. Erik On Aug 13, 2004, at 8:23 AM, Demetrio Zenti wrote: > I apologise if it's a stupid question... > > I index Document objects having 2 fields: > - 1=B0 representing file name. It's code is > Field fieldPath =3D new Field("FIELD_FILENAME", filename, true, = false, > false); > > - 2=B0 representing body of this file > Field fieldSize =3D new Field("FIELD_CONTENT", filebody, false, = true, > true); > > > I've indexed all documents of a folder, let's say C:\tmp, and of its > subfolders. > Now I rename C:\tmp into C:\temp, and I want to update index, but > I don't want to reindex all documents, because sometimes it's much > expensive. > > Is there any way to update a field of a Document (in this case > "FIELD_FILENAME") without reindexing? > > Thanks > > Demetrio > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: lucene-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org