You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Nim Lhûg (JIRA)" <ji...@apache.org> on 2014/03/27 15:21:14 UTC

[jira] [Commented] (SOLR-5789) Add min/max modifiers to Atomic Updates

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

Nim Lhûg commented on SOLR-5789:
--------------------------------

Can someone tell me what's needed to get this merged into 4.X or trunk? Thx :)

> Add min/max modifiers to Atomic Updates
> ---------------------------------------
>
>                 Key: SOLR-5789
>                 URL: https://issues.apache.org/jira/browse/SOLR-5789
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Nim Lhûg
>
> The Atomic Updates feature currently suppors add/inc/set. A min & max modifier would allow for conditional updates: update if new value is smaller/greater than the current value. This is much more convenient than fetching the document, comparing the values and then sending an update.
> The patch seems to work, but probably requires more testing. 
> Pull request: https://github.com/apache/lucene-solr/pull/39



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org