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 <[email protected]> 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 > <[email protected]>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 <[email protected]> >> 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: [email protected] >> For additional commands, e-mail: [email protected] >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
