You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dennis Gove (JIRA)" <ji...@apache.org> on 2015/10/24 04:43:27 UTC
[jira] [Created] (SOLR-8198) Change ReducerStream to use
StreamEqualitor instead of StreamComparator
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org