lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-966) Enhance the map() function to take in multiple tuples
Date Thu, 29 Jan 2009 18:17:00 GMT

     [ 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.


Mime
View raw message