[
https://issues.apache.org/jira/browse/SOLR-10356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15940769#comment-15940769
]
Vish Persaud commented on SOLR-10356:
-------------------------------------
I think the scale will control placement of the decimal (10^1, 10^2, 10^-1,
etc), as opposed to rounding. Seems like rounding while retaining one or more
decimal places would need to be handled by setting precision in BigDecimal. In
any case, not sure how performant that is, compared to say basic rounding to
integers via Math.round().
> 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]