Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7525

Add ComplementStream to the Streaming API and Streaming Expressions

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: SolrJ
    • Labels:
      None

      Description

      This ticket adds a ComplementStream to the Streaming API and Streaming Expression language.

      The ComplementStream will wrap two TupleStreams (StreamA, StreamB) and emit Tuples from StreamA that are not in StreamB.

      Streaming API Syntax:

      ComplementStream cstream = new ComplementStream(streamA, streamB, comp);
      

      Streaming Expression syntax:

      complement(search(...), search(...), on(...))
      

      Internal implementation will rely on the ReducerStream. The ComplementStream can be parallelized using the ParallelStream.

        Attachments

        1. SOLR-7525.patch
          20 kB
          Dennis Gove
        2. SOLR-7525.patch
          28 kB
          Dennis Gove
        3. SOLR-7525.patch
          32 kB
          Dennis Gove
        4. SOLR-7525.patch
          17 kB
          Jason Gerlowski
        5. SOLR-7525.patch
          35 kB
          Jason Gerlowski
        6. SOLR-7525.patch
          35 kB
          Dennis Gove

          Issue Links

            Activity

              People

              • Assignee:
                dpgove Dennis Gove
                Reporter:
                joel.bernstein Joel Bernstein
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: