[
https://issues.apache.org/jira/browse/SOLR-10356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15940215#comment-15940215
]
Dennis Gove commented on SOLR-10356:
------------------------------------
Yeah, intended for streaming expressions. So far we have the following
{code}
abs(a) // |a|
add(a,b,...,z) // a + b + ... + z
div(a,b) // a/b
mult(a,b,...,z) // a * b * ... * z
sub(a,b,...,z) // a - b - ... - z
log(a) // natural log
pow(a,b) // a^b
mod(a,b) // a % b
ceil(a) // ceiling of a
floor(a) // floor of a
{code}
I'll add these ones
{code}
coalesce(a,b,...,z) // this won't actually be specific to math, we can coalesce
on any value type
round(a)
sqrt(a)
cbrt(a) // cubed root
sin(a) // sine of a
sinh(a) // hyperbolic sine of a
asin(a) // arc sine of a
cos(a) // cosine of a
cosh(a) // hyperbolic cosine of a
acos(a) // arc cosine of a
tan(a) // tangent of a
tanh(a) // hyperbolic tangent of a
atan(a) // arc tangent of a
{code}
What were you thinking for round(a,b)?
> Add Streaming Evaluators for basic math functions
> -------------------------------------------------
>
> Key: SOLR-10356
> URL: https://issues.apache.org/jira/browse/SOLR-10356
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Dennis Gove
> Assignee: Dennis Gove
> Priority: Minor
> Attachments: SOLR-10356.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]