I see now I posted this question to the wrong list. Sorry for that one.

Thanks for the great project to all Nutch/Lucene Developers!

Rgrds, Thomas

On 4/19/06, TDLN <[EMAIL PROTECTED]> wrote:
> I found the information in the Lucene in Action book (probably should
> look there first next time :).
>
> Using Document.setBoost(float f) is the way to go.
>
> Rgrds, Thomas
>
> On 4/18/06, TDLN <[EMAIL PROTECTED]> wrote:
> > I would like to boost a Document in the Index if it meets a certain
> > condition. The condition itself is not part of the index. Documents
> > that meet the condition should always have a higher boost than
> > Documents that don't meet the condition.
> >
> > For instance I have a metadata property x that is added at Parse time.
> > The property is not indexed itself, but when it is found in the
> > IndexingFilter, the Document should get a higher Boost than Documents
> > for which the property is empty.
> >
> > How would I go about realizing this. In my IndexingFilter, I could
> > call Document.setBoost(float f). Could I use this method? What would
> > be a sensible value?
> >
> > Rgrds, Thomas
> >
> > D-SEN Software Engineering - www.dsen.nl
> >
>
>
> --
> D-SEN Software Engineering - www.dsen.nl
>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to