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

Joel Bernstein commented on SOLR-8337:
--------------------------------------

Currently the ReduceStream is referred to by *group* Streaming Expression 
function. Now that we will be passing in a ReduceOperation it makes sense to 
call this function *reduce*. For example the syntax would be:
{code}
reduce(                                      
             search(collection1, 
                         q="*:*",
                         qt="/export", 
                         fl="id,a_s,a_i,a_f", 
                         sort="a_s asc, a_f asc"),
              by="a_s",
              operation(...))
{code}

> Add ReduceOperation Interface
> -----------------------------
>
>                 Key: SOLR-8337
>                 URL: https://issues.apache.org/jira/browse/SOLR-8337
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Joel Bernstein
>         Attachments: SOLR-8337.patch
>
>
> This is a very simple ticket to create new interface that extends the 
> StreamOperation. The interface will be called the ReduceOperation.
> In the near future the ReducerStream will be changed to accept a 
> ReduceOperation. This will allow users to pass in the specific reduce 
> algorithm to the ReducerStream, making the ReducerStream much more powerful.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to