On Wed, Feb 9, 2011 at 1:18 PM, Em <mailformailingli...@yahoo.de> wrote:
> How do they "store" these idfs for the current request so that the
> similarity is aware of them?

The df (as opposed to idf) is requested from the searcher by the
weight, which then uses the similarity to produce the idf.  See
TermWeight as an example.  There's no out-of-the-box plugin to provide
alternate df values though, other than the Searcher interface.

If you're doing custom enough scoring, then just implementing your own
query class is probably the way to go, but people might have other
ideas depending on the specifics of what you're trying to do.

-Yonik
http://lucidimagination.com

Reply via email to