Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 87653 invoked from network); 26 May 2006 23:08:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 May 2006 23:08:12 -0000 Received: (qmail 3988 invoked by uid 500); 26 May 2006 23:08:07 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 3958 invoked by uid 500); 26 May 2006 23:08:06 -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 3947 invoked by uid 99); 26 May 2006 23:08:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 May 2006 16:08:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [195.121.6.174] (HELO hnexfe08.hetnet.nl) (195.121.6.174) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 May 2006 16:07:52 -0700 Received: from [192.168.0.101] ([86.85.154.64]) by hnexfe08.hetnet.nl with Microsoft SMTPSVC(5.0.2195.6874); Sat, 27 May 2006 01:07:29 +0200 Subject: Re: Index evolution From: karl wettin To: java-user@lucene.apache.org In-Reply-To: <27bc81750605261350t16f1c388x39a75fee38c6f9eb@mail.gmail.com> References: <27bc81750605261350t16f1c388x39a75fee38c6f9eb@mail.gmail.com> Content-Type: text/plain Organization: snigel heavy industries Date: Sat, 27 May 2006 01:07:28 +0200 Message-Id: <1148684848.5049.13.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 May 2006 23:07:30.0000 (UTC) FILETIME=[29ACE500:01C68119] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Fri, 2006-05-26 at 17:50 -0300, Leandro Saad wrote: > Hi all. I'm very new to lucene. All I have done is read some docs about how > it works, which brings to the question: > > How easy is to add new fields to the documents in the index? > Suppose that today I can search for book title and decide that including the > author in the search would be a good idea. How easy is to do that with > lucene? If you know what analyzers you used, all values are stored (in the index or somewhere else) and have some way to identify a document, then it is easy to build a new document, delete the old and add the new. It is possible to to merge new fields to existing documents in an index, but it is not very easy. Nor is it fast. Luke contains code that tampers with your index. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org