[ http://issues.apache.org/jira/browse/LUCENE-446?page=comments#action_12331348 ]
Hoss Man commented on LUCENE-446: --------------------------------- Just a thought, but in the same spirit as SpanQuery, these classes may make sense in their own sub package ... ie: org.apache.lucene.search.fq > 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]