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

Joel Bernstein commented on SOLR-10693:
---------------------------------------

I started out with that approach but ran into some situations that didn't work 
well. I ended up settling on the same approach taken in the java.util.Arrays 
class, which has a copyOf and copyOfRange function. The MathArrays takes this 
approach as well:

http://commons.apache.org/proper/commons-math/javadocs/api-3.6/org/apache/commons/math3/util/MathArrays.html



> Add copyOfRange Stream Evaluator
> --------------------------------
>
>                 Key: SOLR-10693
>                 URL: https://issues.apache.org/jira/browse/SOLR-10693
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Joel Bernstein
>
> The copyOfRange Stream Evaluator copies a range of an array to a new array.
> Syntax:
> {code}
> a = copyOfRange(colA, 1, 4)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to