You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Doron Cohen (JIRA)" <ji...@apache.org> on 2007/04/27 21:33:15 UTC
[jira] Commented: (LUCENE-446) FunctionQuery - score based on field
value
[ https://issues.apache.org/jira/browse/LUCENE-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12492378 ]
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: o.a.l.search.function.
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: https://issues.apache.org/jira/browse/LUCENE-446
> Project: Lucene - Java
> Issue Type: New Feature
> Components: Search
> Affects Versions: 1.9
> Reporter: Yonik Seeley
> Attachments: function.zip, function.zip
>
>
> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org