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/02/27 17:19:19 UTC

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

Nim Lhûg created SOLR-5789:
------------------------------

             Summary: 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. 

Note: will add a link to the pull request in a minute.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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