[ 
https://issues.apache.org/jira/browse/SOLR-5789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

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

    Description: 
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

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


> 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.1.5#6160)

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

Reply via email to