You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2009/01/29 19:17:00 UTC
[jira] Updated: (SOLR-966) Enhance the map() function to take in
multiple tuples
[ https://issues.apache.org/jira/browse/SOLR-966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noble Paul updated SOLR-966:
----------------------------
Attachment: SOLR-966.patch
decided to go w/ shalin's suggestion . added just a default value. The last value is optional. if not present ,the field value is used as default.
> Enhance the map() function to take in multiple tuples
> -----------------------------------------------------
>
> Key: SOLR-966
> URL: https://issues.apache.org/jira/browse/SOLR-966
> Project: Solr
> Issue Type: Improvement
> Reporter: Noble Paul
> Fix For: 1.4
>
> Attachments: SOLR-966.patch
>
>
> The map function currently takes in only one min,max target. This makes it impossible to map it to multiple values .
> It should be possible to pass on multiple sets of values
> example
> {code}
> map(x,0,0,10,1,1,20,2,2,50)
> {code}
> it should allow an n number of float values (where n%3 = 0)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.