Dennis Gove created SOLR-8198:
---------------------------------

             Summary: 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
            Priority: Minor


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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to