lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phanindra Reva <>
Subject Re: question related to Indexing
Date Tue, 08 Dec 2009 16:16:25 GMT
        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
     I guess.. this time you feel its much more strange, but that's my
task for which above mentioned is one way to accomplish.

On Tue, Dec 8, 2009 at 4:55 PM, Erick Erickson <> wrote:
> You're right, it *does* seem strange <G>....
> 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,
>>              I 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)  after 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.
>>   If it seems strange.. please don't mind.
>> Thanks.
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message