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

Joel Bernstein commented on SOLR-10682:
---------------------------------------

The problem I see with overloading the function names is the following scenario:

{code}
select(timeseries(collection, q="*:*", start="...", end="...", gap="...", 
var(fieldx)),
          add(var(fieldx), 1) as outField))
{code}

In this scenario is var(fieldx) referring to the aggregation result or to the 
var Stream Evaluator. I don't think there is an easy way to deal with issue. So 
I think we should separate the Stream Evaluator function names from the 
aggregation function names to avoid this situation.

[~dpgove], any thoughts on the example?

> Add variance Stream Evaluator
> -----------------------------
>
>                 Key: SOLR-10682
>                 URL: https://issues.apache.org/jira/browse/SOLR-10682
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Joel Bernstein
>
> The variance Stream Evaluator will calculate the variance of a vector of 
> numbers.
> {code}
> v = var(colA)
> {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