[ 
https://issues.apache.org/jira/browse/SOLR-966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shalin Shekhar Mangar resolved SOLR-966.
----------------------------------------

    Resolution: Fixed

Committed revision 740445.

Thanks Noble!

> Enhance the map() function to take in a default value
> -----------------------------------------------------
>
>                 Key: SOLR-966
>                 URL: https://issues.apache.org/jira/browse/SOLR-966
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Noble Paul
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.4
>
>         Attachments: SOLR-966.patch, SOLR-966.patch
>
>
> The map function currently takes in only one min,max target and returns the 
> field's value if it is not between min and max. This makes it very difficult 
> to use it for scoring. 
> This issue aims to add an optional fifth parameter to the map function query 
> which will be a default value that is used if the field's value does not fall 
> between min and max. If this parameter is not specified, the behavior is the 
> same as before for back-compatibility.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to