[ http://issues.apache.org/jira/browse/LUCENE-446?page=comments#action_12331446 ]
Yonik Seeley commented on LUCENE-446: ------------------------------------- Perhaps not a bad idea considering that the number of classes may top 12 after adding a few more function types. Anyone else have package name suggestions/preferences? search.fq? search.func? search.function? > FunctionQuery - score based on field value > ------------------------------------------ > > Key: LUCENE-446 > URL: http://issues.apache.org/jira/browse/LUCENE-446 > Project: Lucene - Java > Type: New Feature > Components: Search > Versions: 1.9 > Reporter: Yonik Seeley > Attachments: FieldValueSource.java, FieldValueSourceFactory.java, > FloatFieldSource.java, FunctionFactory.java, FunctionInst.java, > FunctionQuery.java, IntFieldSource.java, LinearFloatFunction.java, > OrdFieldSource.java > > 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. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]