[
https://issues.apache.org/jira/browse/SOLR-5789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13914697#comment-13914697
]
ASF GitHub Bot commented on SOLR-5789:
--------------------------------------
GitHub user codematters opened a pull request:
https://github.com/apache/lucene-solr/pull/39
SOLR-5789 Add min/max modifiers to Atomic Updates
Allows for conditional atomic updates -- if new value is smaller or
larger than the old value.
Jira: https://issues.apache.org/jira/browse/SOLR-5789
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/INTIXnv/lucene-solr trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucene-solr/pull/39.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #39
----
commit 901a810c98eae381862f79f7cf4f2c10bffb8730
Author: Bram <[email protected]>
Date: 2014-02-27T16:17:45Z
SOLR-5789 Add min/max modifiers to Atomic Updates
Allows for conditional atomic updates -- if new value is smaller or
larger than the old value.
----
> 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: [email protected]
For additional commands, e-mail: [email protected]