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

Joel Bernstein edited comment on SOLR-8337 at 11/24/15 11:28 PM:
-----------------------------------------------------------------

First crack at adding the ReduceOperation to the ReducerStream.

I'll create a GroupOperation that will emit a single Tuple with a list of all 
the Tuples in a group.

{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",
              group())
{code}  


was (Author: joel.bernstein):
First crack at adding the ReduceOperation to the ReducerStream.

I'll create a GroupOperation that will emit a single Tuple with a list of all 
the Tuples in a group.

  

> 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, 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