[ 
https://issues.apache.org/jira/browse/SOLR-16287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17574701#comment-17574701
 ] 

Eric Pugh commented on SOLR-16287:
----------------------------------

I think "atomic" only makes sense if you no longer need the "update", and if we 
added some sort of special capability.  

I may have caused some horrible bike shedding here...    

> 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
>            Priority: Minor
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to