Details
-
New Feature
-
Status: Reopened
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Patch Available
Description
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.
Attachments
Attachments
Issue Links
- is related to
-
LUCENE-850 Easily create queries that transform subquery scores arbitrarily
- Closed
- relates to
-
SOLR-192 Move FunctionQuery to Lucene
- Resolved