[ https://issues.apache.org/jira/browse/LUCENE-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484195 ]
Mike Klaas commented on LUCENE-446: ----------------------------------- I've often wanted to multiply the scores of two queries. I looked at FunctionQuery but didn't really see an easy way of getting around the ValueSource thing. See LUCENE-850 for my eventual solution > 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]