Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 36284 invoked from network); 29 Jun 2010 12:01:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Jun 2010 12:01:28 -0000 Received: (qmail 16577 invoked by uid 500); 29 Jun 2010 12:01:26 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 16229 invoked by uid 500); 29 Jun 2010 12:01:22 -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 16221 invoked by uid 99); 29 Jun 2010 12:01:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jun 2010 12:01:22 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bghost@gmail.com designates 209.85.214.48 as permitted sender) Received: from [209.85.214.48] (HELO mail-bw0-f48.google.com) (209.85.214.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jun 2010 12:01:14 +0000 Received: by bwz8 with SMTP id 8so1915884bwz.35 for ; Tue, 29 Jun 2010 04:59:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=OQCLknGBUjLixpgFXClCa1/7jKdlzCJIsbKzuiee4iY=; b=JJowWIVDw9cAJR7e3BAeABEmGop0XD90qrgjqsplSDiDfyAlNpKhIqX5r0xm9kuJoP ziqWTtJNOBWauPHyujxj8+Fh1S5IoUg7V7xz/WrQ/xe9ZliknHSjJ3ND9+2wfMxSyB6v I3PLUgT7eASUv9GfjXAvfIkOwHjLQ0EcK+awI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=vJt/1FRfU8SyBwtgfT3aVFzNhaLQUQXPUSrjbeVLDFM6EwBvqB38gHwfMVtNvH9fMJ NszEn4cL0R5UZoUQKH2NFeA6JN6tkQ0Zy2tfh2WpxDk9E3RcDJbmR6CiXl9k/IL3ZQzE N7mMm8ubVyVx474BEbnoIHy+F7JvePPg7augU= MIME-Version: 1.0 Received: by 10.204.79.203 with SMTP id q11mr4558481bkk.121.1277812794065; Tue, 29 Jun 2010 04:59:54 -0700 (PDT) Received: by 10.204.51.212 with HTTP; Tue, 29 Jun 2010 04:59:53 -0700 (PDT) In-Reply-To: References: Date: Tue, 29 Jun 2010 13:59:53 +0200 Message-ID: Subject: Re: Adding a new field to existing Index From: Mango To: java-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Unfortunately, I don't think it is possible to add new field without re-indexing. As for extracting content from the field, it should be possible to retrieve data if the term vectors were stored with positions offset (Field.TermVector.WITH_POSITIONS_OFFSETS). If not, I don't think it's possible. On Tue, Jun 29, 2010 at 1:40 PM, Naveen Kumar wrote: > Hey, > > I need to add a new field (a stored , not indexed field) for all documents > present in an existing large index. Reindexing the whole index will be very > costly. Is there a way to do this or any work around? > > I would also like to know, if data or term vector, of a field indexed > without storing, can somehow be retrieved. This would enable a work around > solution to my problem. > > Thank you > Naveen Kumar > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org