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 <parnab.2...@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 > <erickerick...@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 <parnab.2...@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-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