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

New atomic update operation: AddToSet

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Schema and Analysis

    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

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

              Dates

                Created:
                Updated:
                Resolved: