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

Atomic Update Multivalue remove does not work

    XMLWordPrintableJSON

Details

    Description

      When using JavaBinCodec the values of collections are of type ByteArrayUtf8CharSequence, existing field values are Strings so the remove Operation does not have any effect.

      The relevant code is located in class AtomicUpdateDocumentMerger method doRemove.

      The method parameter fieldVal contains the collection values of type ByteArrayUtf8CharSequence, the variable original contains the collection of Strings

      Attachments

        1. Fix-SOLR13331-Add-toNativeType-implementations.patch
          1 kB
          Thomas Wöckinger
        2. SOLR-13331.patch
          10 kB
          Jason Gerlowski

        Issue Links

          Activity

            People

              gerlowskija Jason Gerlowski
              thomas.woeckinger Thomas Wöckinger
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m