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/06/05 04:33:31 UTC

[jira] Updated: (LUCENE-446) search.function - (1) score based on field value, (2) simple score customizability

     [ https://issues.apache.org/jira/browse/LUCENE-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doron Cohen updated LUCENE-446:
-------------------------------

    Attachment: function.patch.txt

Updated patch:
- fixes explanation and toString() issues.
- adds the Ord and ReverseOrd valueSource classes that are in use in Solr
- warn in the javadocs from the experimental state of this package

Javadocs were updated at http://people.apache.org/~doronc/api 

I will commit this later today of there are no objections.



> search.function - (1) score based on field value, (2) simple score customizability
> ----------------------------------------------------------------------------------
>
>                 Key: LUCENE-446
>                 URL: https://issues.apache.org/jira/browse/LUCENE-446
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Search
>            Reporter: Yonik Seeley
>            Assignee: Doron Cohen
>            Priority: Minor
>             Fix For: 2.2
>
>         Attachments: function.patch.txt, function.patch.txt, function.patch.txt, 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