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

Streaming Expression for deleting documents by IDs (from tuples)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.5, 9.0
    • streaming expressions
    • None

    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. SOLR-14241.patch
          44 kB
          Chris M. Hostetter
        2. microbenchmark_scripts.zip
          4 kB
          Chris M. Hostetter
        3. STREAM-adds-and-deletes.png
          17 kB
          Chris M. Hostetter
        4. STREAM-only-adds.png
          31 kB
          Chris M. Hostetter
        5. DELQ-only-adds.png
          39 kB
          Chris M. Hostetter
        6. DELQ-adds-and-deletes.png
          19 kB
          Chris M. Hostetter

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: