lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-446) FunctionQuery - score based on field value
Date Tue, 20 Mar 2007 02:19:32 GMT

    [ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message