You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Rafael Calsaverini <ra...@gmail.com> on 2013/08/19 15:26:28 UTC
Penalizing absent words
Hi there,
is there a way to penalize a document's score for lacking a particular
term? It would be quite nice if I could add a negative term to the score,
which is proportional to the idf of a word that is not present in a given
field of that document.
Thanks for your time,
Rafael Calsaverini
Data Scientist @ Catho <http://catho.com.br>
cell: +55 11 7525.6222
*
*
*8d21881718d00d997686177be1c27360493b23ea0258f5e6534437e6*
Re: Penalizing absent words
Posted by Erik Hatcher <er...@gmail.com>.
You could penalize by boosting documents that have the term.
Can you give a concrete example? How dynamic is the "absent words" list?
Erik
On Aug 19, 2013, at 09:26 , Rafael Calsaverini wrote:
> Hi there,
>
> is there a way to penalize a document's score for lacking a particular
> term? It would be quite nice if I could add a negative term to the score,
> which is proportional to the idf of a word that is not present in a given
> field of that document.
>
> Thanks for your time,
>
>
> Rafael Calsaverini
> Data Scientist @ Catho <http://catho.com.br>
> cell: +55 11 7525.6222
>
> *
> *
> *8d21881718d00d997686177be1c27360493b23ea0258f5e6534437e6*