[
https://issues.apache.org/jira/browse/SOLR-4319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16056379#comment-16056379
]
David Smiley commented on SOLR-4319:
------------------------------------
Certainly... I hit this recently. I'm surprised "add" wasn't implemented this
way to begin with since I bet most users effectively have a set anyways.
> New atomic update operation: AddToSet
> -------------------------------------
>
> Key: SOLR-4319
> URL: https://issues.apache.org/jira/browse/SOLR-4319
> Project: Solr
> Issue Type: Wish
> Components: Schema and Analysis
> Reporter: Mikael Koskinen
> Labels: atomic
>
> Currently Solr supports the following atomic operations:
> add, set, inc
> It would be great to have operation "addToSet". This would be useful in
> situations where a document has a multivalued field (like category) and I
> want to add a new value to list if it doesn't already exists.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]