You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ishan Chattopadhyaya (JIRA)" <ji...@apache.org> on 2017/08/21 03:26:02 UTC

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

Ishan Chattopadhyaya created SOLR-11267:
-------------------------------------------

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


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