lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Hill <solr-l...@worldware.com>
Subject Re: question related to Indexing
Date Tue, 08 Dec 2009 20:21:36 GMT
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.phanindra@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 <erickerickson@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.phanindra@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-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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message