Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 98526 invoked from network); 8 Dec 2009 20:42:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Dec 2009 20:42:19 -0000 Received: (qmail 54554 invoked by uid 500); 8 Dec 2009 20:42:17 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 54479 invoked by uid 500); 8 Dec 2009 20:42:17 -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 54469 invoked by uid 99); 8 Dec 2009 20:42:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Dec 2009 20:42:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of reva.phanindra@gmail.com designates 209.85.220.224 as permitted sender) Received: from [209.85.220.224] (HELO mail-fx0-f224.google.com) (209.85.220.224) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Dec 2009 20:42:09 +0000 Received: by fxm24 with SMTP id 24so5801112fxm.11 for ; Tue, 08 Dec 2009 12:41:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=FYvZMXuoVN/dehHnBhcX1zBnMYqkOHd8uVQuZ7F8Z74=; b=eA2A8kRulrrNQXtKQ9l87HQHSFr6kERhgoCBGk16LofPpcy1w7LhyYTITwjzgri5ZI GGOUWOP3NgmrOQY+rhoTWn+vEssmiKTJJUJQH0GFLmE8J8onWL80u15pzHdjCm8gZYYX CAX7m48360WT1w8Mjz2ghQsUKp/ssryotvC0s= 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:content-transfer-encoding; b=v7HOmvGse/eSVJikxQR7hcDiM0pQVv2muuDJTqPEd+ieFVs4ftXPtDq9IEWsvoZyaI ++TesZd/TgdgImhVXF6KP8IK5giTJJSAzxPkdDHG9wFTwXPqUSHvZp1gl7SaIgum00G3 6ln/KLL5IpJjErxZay5oq2SdAB+LQyeRkiVac= MIME-Version: 1.0 Received: by 10.239.179.97 with SMTP id c33mr820646hbg.157.1260304908655; Tue, 08 Dec 2009 12:41:48 -0800 (PST) In-Reply-To: <660086cb0912081221r3fec9dcbw3bf8d4b4a64ea212@mail.gmail.com> References: <359a92830912080755t53ed8447v6eb5b753a8282965@mail.gmail.com> <660086cb0912081221r3fec9dcbw3bf8d4b4a64ea212@mail.gmail.com> Date: Tue, 8 Dec 2009 21:41:48 +0100 Message-ID: Subject: Re: question related to Indexing From: Phanindra Reva To: java-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hello Tom and Erick, I am really sorry for posting such a dull question. Meanwhile I have explored a few other parts of API, fortunately I have found a place which could exaclty fit for my case. Thanks for patiently trying to understand my question.. and warning me. Bye. On Tue, Dec 8, 2009 at 9:21 PM, Tom Hill wrote: > If you tell us WHY you want to do this, rather than HOW you want to do it= , > the chances are much better that someone can help. > > What's the business motivation here? =A0What does the end user want to > achieve? > > Tom > > On Tue, Dec 8, 2009 at 8:16 AM, Phanindra Reva = wrote: > >> Hello, >> =A0 =A0 =A0 =A0Thanks for the reply. *strange* was expected. I am trying= to >> store field names as payloads, so I need unedited field names during >> analysis part. And later my plan is to replace all the field names >> with a default value and then store the document in the index. So, If >> its possible to get the reference of the Document after the analysis, >> I could modify all the field names. Even a way of modifying ( of >> course , it should be after analysis and before adding to the index ) >> the field-name values that are going to be added to the index will >> suffice. >> =A0 =A0 I guess.. this time you feel its much more strange, but that's m= y >> task for which above mentioned is one way to accomplish. >> Thanks. >> >> On Tue, Dec 8, 2009 at 4:55 PM, Erick Erickson >> wrote: >> > You're right, it *does* seem strange .... >> > >> > I'm having a really hard time imagining a use-case >> > for this capability, so it's hard to suggest >> > an approach. Perhaps you could supply >> > an outline of your use-case? This may be >> > an XY problem. >> > >> > Best >> > Erick >> > >> > On Tue, Dec 8, 2009 at 10:12 AM, Phanindra Reva < >> reva.phanindra@gmail.com>wrote: >> > >> >> Hello All, >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0I am a newbie using Lucene. To be brief, I= am just >> >> wondering whether is there a point where we get the access to the >> >> org.apache.lucene.document.Document (which is being indexed at the >> >> moment) =A0after the analysing part is completed but exactly before i= t >> >> is added to the index. My whole aim is to modify all the field names >> >> present in the document before its being added to the index, but I >> >> need those field names un-edited during the analysis part. >> >> =A0 If it seems strange.. please don't mind. >> >> Thanks. >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org >> >> For additional commands, e-mail: java-user-help@lucene.apache.org >> >> >> >> >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org >> For additional commands, e-mail: java-user-help@lucene.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org