Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-4319

New atomic update operation: AddToSet

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Schema and Analysis
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                miksu Mikael Koskinen
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: