On 9/18/07, Amitha Talasila <[EMAIL PROTECTED]> wrote:
>   The 65% of the relevance can be computed while indexing the document and
> posted as a field. But the keyword match is a run time score .Is there any
> way of getting the relevance score as a combination of this 65% and 35%?

A FunctionQuery can get you the value of a field to use in a relevancy
score.  Put that it in a boolean query with the relevanct query and
boost each portion to give the correct weight.

+text:foo^.65  _val_:scorefield^.35

-Yonik

Reply via email to