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

MapStream - remap tuple value(s)

    XMLWordPrintableJSON

Details

    Description

      Remap from (k,v) => k -> newKey -> value

      e.g.  with

      map(<stream>,"cand_id=add-distinct") , convert stream tuples from

      From

      {"cand_id":5718,id:123,v_i:345}

      To

      {
        id:123,
        v_i:345,
        "cand_id": {
          "add-distinct": 5718
      }, 

      Useful for update stream for atomic updates.

      Attachments

        Issue Links

          Activity

            People

              jbernste Joel Bernstein
              rosher Dan Rosher
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m