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

Streaming Expression for deleting documents by IDs (from tuples)

    XMLWordPrintableJSON

    Details

      Description

      Streaming expressions currently supports an update(...) decorator function for wrapping another stream and treating each Tuple from the inner stream as a document to be added to an index.

      I've implemented an analogous subclass of the UpdateStream called DeleteStream that uses the tuples from the inner stream to identify the uniqueKeys of documents that should be deleted.

        Attachments

        1. DELQ-adds-and-deletes.png
          19 kB
          Chris M. Hostetter
        2. DELQ-only-adds.png
          39 kB
          Chris M. Hostetter
        3. microbenchmark_scripts.zip
          4 kB
          Chris M. Hostetter
        4. SOLR-14241.patch
          44 kB
          Chris M. Hostetter
        5. STREAM-adds-and-deletes.png
          17 kB
          Chris M. Hostetter
        6. STREAM-only-adds.png
          31 kB
          Chris M. Hostetter

          Activity

            People

            • Assignee:
              hossman Chris M. Hostetter
              Reporter:
              hossman Chris M. Hostetter
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: