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

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

[~otis] The "TODO: fieldtype needs externalToObject"-todo was already present, 
and I'm not sure what that's talking about.
The rest of code could definitely be refactored, but I'd rather get this patch 
in first and then refactor the DistributedUpdateProcessor, if that's alright?

> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to