Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 78990 invoked from network); 8 Dec 2009 16:16:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Dec 2009 16:16:55 -0000 Received: (qmail 18572 invoked by uid 500); 8 Dec 2009 16:16:53 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 18490 invoked by uid 500); 8 Dec 2009 16:16:52 -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 18474 invoked by uid 99); 8 Dec 2009 16:16:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Dec 2009 16:16:49 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of reva.phanindra@gmail.com designates 72.14.220.156 as permitted sender) Received: from [72.14.220.156] (HELO fg-out-1718.google.com) (72.14.220.156) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Dec 2009 16:16:47 +0000 Received: by fg-out-1718.google.com with SMTP id e12so1125833fga.5 for ; Tue, 08 Dec 2009 08:16:26 -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=D4ZwZWbkZXY7W4e5M8pi75wUVMjKmONo0GR/c++CtgI=; b=VGUJIbzjGG2cB3hau3p7WAV1hUBJ7gg+fRiRvbF9yOJ55wZdPy6VKtH1i9uGmY0KAC VMoPkJM1+drUPRMfXztmMKcerNWYX4k7zGyJKu8UcoqTHWayyYVZYbp1XaAVTLTjbln2 QKgMZ41V6PfuzWvfS1l9XO6lu0JDZkuKz1xDg= 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=tHv8dFR/z/+CXVQxQTzlA4nNzo1LpgNK2MrPKbB0AFjC/SmbPKr42j8BDIZ28LRX5k 8yVH/0LXd4hUrJzi7f3d3GIx+0GVhb7+KhBi5PLXiHHq6aDfhQdFaJzGEhASpIofcj49 bXKnpkAd+XnjcqUAwokS9vSR3u11UC4TRWFfM= MIME-Version: 1.0 Received: by 10.239.139.215 with SMTP id u23mr865487hbu.28.1260288986279; Tue, 08 Dec 2009 08:16:26 -0800 (PST) In-Reply-To: <359a92830912080755t53ed8447v6eb5b753a8282965@mail.gmail.com> References: <359a92830912080755t53ed8447v6eb5b753a8282965@mail.gmail.com> Date: Tue, 8 Dec 2009 17:16:25 +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 Hello, Thanks 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. I guess.. this time you feel its much more strange, but that's my task for which above mentioned is one way to accomplish. Thanks. On Tue, Dec 8, 2009 at 4:55 PM, Erick Erickson wr= ote: > 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 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 it >> 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