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

Add ComplementStream to the Streaming API and Streaming Expressions

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • None
    • 6.0
    • SolrJ
    • 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
          35 kB
          Dennis Gove
        2. SOLR-7525.patch
          35 kB
          Jason Gerlowski
        3. SOLR-7525.patch
          17 kB
          Jason Gerlowski
        4. SOLR-7525.patch
          32 kB
          Dennis Gove
        5. SOLR-7525.patch
          28 kB
          Dennis Gove
        6. SOLR-7525.patch
          20 kB
          Dennis Gove

        Issue Links

          Activity

            People

              dpgove Dennis Gove
              jbernste Joel Bernstein
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: