lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] Commented: (LUCENE-446) FunctionQuery - score based on field value
Date Thu, 02 Mar 2006 18:56:39 GMT
    [ ] 

Yonik Seeley commented on LUCENE-446:

This version is now slightly out of date.
For now, consider the definitive version to be in Solr:

Solr currently has a QueryParser hack to parse a FunctionQuery...  you use _val_ as the fieldName
to create a FunctionQuery
 _val_:"max(linear(myfield,1.0,.1), 5.0)"

> FunctionQuery - score based on field value
> ------------------------------------------
>          Key: LUCENE-446
>          URL:
>      Project: Lucene - Java
>         Type: New Feature
>   Components: Search
>     Versions: 1.9
>     Reporter: Yonik Seeley
>  Attachments:,
> 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:
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message