You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Dan Rosher (Jira)" <ji...@apache.org> on 2022/07/12 08:46:00 UTC

[jira] [Created] (SOLR-16287) MapStream - remap tuple value(s)

Dan Rosher created SOLR-16287:
---------------------------------

             Summary: MapStream - remap tuple value(s) 
                 Key: SOLR-16287
                 URL: https://issues.apache.org/jira/browse/SOLR-16287
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: streaming expressions
    Affects Versions: 9.0
            Reporter: Dan Rosher


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

e.g.  with

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

From
{code:java}
{"cand_id":5718,id:123,v_i:345}{code}
To
{code:java}
{
  id:123,
  v_i:345,
  "cand_id": {
    "add-distinct": 5718
}, {code}
Useful for update stream for atomic updates.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org