You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Erick Erickson <er...@gmail.com> on 2012/10/01 13:44:39 UTC

Re: Variable term weighting while indexing

Here's a good explanation....

http://searchhub.org/dev/2009/08/05/getting-started-with-payloads/

Best
Erick

On Sun, Sep 30, 2012 at 8:02 AM, parnab kumar <pa...@gmail.com> wrote:
> Hi Erick,
>           Can you please share your thoughts on the following :
>                  Since lucene by default does vector space scoring , the
> weight component for a term from the document is nothing but its term
> frequency . Now if i have an associated payload weight for that term , when
> the final scoring takes place , will now the weight component of the term
> be the payload weight .
>                            Is the above intuition correct ?
>
> Thanks,
> Parnab
>
> On Sun, Sep 30, 2012 at 2:13 AM, Erick Erickson <er...@gmail.com>wrote:
>
>> Yeah, payloads are probably what you want, otherwise the words are
>> indistinguishable.
>>
>> Best
>> Erick
>>
>> On Sat, Sep 29, 2012 at 12:23 PM, parnab kumar <pa...@gmail.com>
>> wrote:
>> > Hi All,
>> >
>> >            I have an algorithm by which i measure the importance of a
>> term
>> > in a document . While indexing i want to store weight with respect to
>> that
>> > term for the document. Any idea how to do it . Will the payload feature
>> > help to address the problem
>> >
>> > Thanks,
>> > Parnab
>>
>> ---------------------------------------------------------------------
>> 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


Re: Variable term weighting while indexing

Posted by parnab kumar <pa...@gmail.com>.
Thanks Erick ,
      I have figured out the underlying principle of working with payloads.

Regards,
Parnab



On Mon, Oct 1, 2012 at 5:14 PM, Erick Erickson <er...@gmail.com>wrote:

> Here's a good explanation....
>
> http://searchhub.org/dev/2009/08/05/getting-started-with-payloads/
>
> Best
> Erick
>
> On Sun, Sep 30, 2012 at 8:02 AM, parnab kumar <pa...@gmail.com>
> wrote:
> > Hi Erick,
> >           Can you please share your thoughts on the following :
> >                  Since lucene by default does vector space scoring , the
> > weight component for a term from the document is nothing but its term
> > frequency . Now if i have an associated payload weight for that term ,
> when
> > the final scoring takes place , will now the weight component of the term
> > be the payload weight .
> >                            Is the above intuition correct ?
> >
> > Thanks,
> > Parnab
> >
> > On Sun, Sep 30, 2012 at 2:13 AM, Erick Erickson <erickerickson@gmail.com
> >wrote:
> >
> >> Yeah, payloads are probably what you want, otherwise the words are
> >> indistinguishable.
> >>
> >> Best
> >> Erick
> >>
> >> On Sat, Sep 29, 2012 at 12:23 PM, parnab kumar <pa...@gmail.com>
> >> wrote:
> >> > Hi All,
> >> >
> >> >            I have an algorithm by which i measure the importance of a
> >> term
> >> > in a document . While indexing i want to store weight with respect to
> >> that
> >> > term for the document. Any idea how to do it . Will the payload
> feature
> >> > help to address the problem
> >> >
> >> > Thanks,
> >> > Parnab
> >>
> >> ---------------------------------------------------------------------
> >> 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
>
>