lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doron Cohen (JIRA)" <>
Subject [jira] Commented: (LUCENE-446) FunctionQuery - score based on field value
Date Fri, 27 Apr 2007 19:33:15 GMT


Doron Cohen commented on LUCENE-446:

I intend to take a shot at this, with the approach of two parts/steps -
  1)  simple scoring based on values of stored field.
  2)  composing a document score as (some / math / extensible)  function of one or more scores
of sub queries.

Thinking of a new package:

This would seem to bring together LUCENE-446 and LUCENE-850 and I think would be handy for
trying various scoring techniques.

(Background/motivation:  I was considering using payloads for trying some static scoring alternatives
(e.g. link info based), but I realized that function queries are much more suitable for this,
and would be a handy addition to Lucene core.)

> FunctionQuery - score based on field value
> ------------------------------------------
>                 Key: LUCENE-446
>                 URL:
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Search
>    Affects Versions: 1.9
>            Reporter: Yonik Seeley
>         Attachments:,
> FunctionQuery can return a score based on a field's value or on it's ordinal value.
> FunctionFactory subclasses define the details of the function.  There is currently a
LinearFloatFunction (a line specified by slope and intercept).
> Field values are typically obtained from FieldValueSourceFactory.  Implementations include
FloatFieldSource, IntFieldSource, and OrdFieldSource.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message