[ 
https://issues.apache.org/jira/browse/SOLR-2757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112148#comment-13112148
 ] 

Hoss Man commented on SOLR-2757:
--------------------------------

Bill: the code looks good -- could you please some basic tests?  I think if you 
look at TestFunctionQuery there should already be some really straight forward 
testing of the two arg version of min & max -- can you just add a few similar 
lines demonstrating that multiple args work properly?

> Switch min(a,b) function to min(a,b,...)
> ----------------------------------------
>
>                 Key: SOLR-2757
>                 URL: https://issues.apache.org/jira/browse/SOLR-2757
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 3.4
>            Reporter: Bill Bell
>            Priority: Minor
>         Attachments: SOLR-2757.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Would like the ability to use min(1,5,10,11) to return 1. To do that today it 
> is parenthesis nightmare:
> min(min(min(1,5),10),11)
> Should extend max() as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to