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 <solr-l...@worldware.com> 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? What does the end user want to > achieve? > > Tom > > On Tue, Dec 8, 2009 at 8:16 AM, Phanindra Reva > <reva.phanin...@gmail.com>wrote: > >> 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 <erickerick...@gmail.com> >> 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 < >> reva.phanin...@gmail.com>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: java-user-unsubscr...@lucene.apache.org >> >> For additional commands, e-mail: java-user-h...@lucene.apache.org >> >> >> >> >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org >> For additional commands, e-mail: java-user-h...@lucene.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org