You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Amrit Sarkar (JIRA)" <ji...@apache.org> on 2017/10/17 07:32:00 UTC

[jira] [Commented] (SOLR-11267) Add support for "add-distinct" atomic update operation

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

Amrit Sarkar commented on SOLR-11267:
-------------------------------------

[~ichattopadhyaya],

Let me know if you get a chance to go over the patch and suggest some changes on it. Thanks.

> 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
>         Attachments: 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
(v6.4.14#64029)

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