[ 
https://issues.apache.org/jira/browse/SOLR-8198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Gove closed SOLR-8198.
-----------------------------
       Resolution: Implemented
    Fix Version/s: Trunk

> Change ReducerStream to use StreamEqualitor instead of StreamComparator
> -----------------------------------------------------------------------
>
>                 Key: SOLR-8198
>                 URL: https://issues.apache.org/jira/browse/SOLR-8198
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrJ
>            Reporter: Dennis Gove
>            Assignee: Dennis Gove
>            Priority: Minor
>             Fix For: Trunk
>
>         Attachments: SOLR-8198.patch, SOLR-8198.patch
>
>
> Currently the ReducerStream uses a StreamComparator to determine whether 
> tuples are equal. StreamEqualitors are a simplified version of a comparator 
> in that they do not require a sort to be provided. Using the function 
> getStreamSort we are still able to validate the incoming stream's sort and 
> pass that on up to any parent stream which might require it.
> This will simplify the use of the ReducerStream in join scenarios where the 
> reducer is used to find like records. Such a scenario exists with Inner/Outer 
> JoinStream, ComplementStream, and [Outer]HashJoinStreams.



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