[
https://issues.apache.org/jira/browse/LUCENE-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12482292
]
Hoss Man commented on LUCENE-446:
---------------------------------
I just remembered one of the reasons why i didn't do this the last time i
looked at it: i don't think FunctionQuery has any good unit tests in the Solr
code base -- there might be some tests that use the SOlrTestHarness to trigger
function queries, but they aren't really portable.
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]