[
https://issues.apache.org/jira/browse/SOLR-11267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16397686#comment-16397686
]
Noble Paul edited comment on SOLR-11267 at 3/13/18 9:33 PM:
------------------------------------------------------------
It's already in 7.3 branch
was (Author: noble.paul):
It can be committed to the 7.3 branch
> Add support for "add-distinct" atomic update operation
> ------------------------------------------------------
>
> Key: SOLR-11267
> URL: https://issues.apache.org/jira/browse/SOLR-11267
> Project: Solr
> Issue Type: New Feature
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Ishan Chattopadhyaya
> Assignee: Noble Paul
> Priority: Blocker
> Fix For: 7.3
>
> Attachments: SOLR-11267.patch, SOLR-11267.patch, SOLR-11267.patch
>
>
> Often, a multivalued field is used as a set of values. Since multivalued
> fields are more like lists than sets, users do two consecutive operations,
> remove and add, to insert an element into the field and also maintain the
> set's property of only having unique elements.
> Proposing a new single operation, called "add-distinct" (which essentially
> means "add-if-doesn't exist") for this.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]