On 10/31/07, Victoria Kaganski <[EMAIL PROTECTED]> wrote:
> Does FunctionQuery actually override the default similarity function? If
> it does, how can I still access the similarity value?

FunctionQuery returns the *value* of a field (or a function of it) as
the value for a query - it does not use Similarity at all.

If you put a FunctionQuery in a BooleanQuery with other queries (like
normal relevance queries), the scores will be added together.

If you use a BoostedQuery, the FunctionQuery score will be multiplied
by the normal relevance score.

-Yonik

Reply via email to