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

Atomic updates not work with CopyField

    XMLWordPrintableJSON

Details

    Description

      Atomic updates does not work when CopyField has docValues enabled. Below is the sample schema

         <field name="single_i_dvn" multiValued="false" type="int"    indexed="true" stored="true" />
         <field name="single_d_dvn" multiValued="false" type="double" indexed="true" stored="true" />
         <field name="single_s_dvn" multiValued="false" type="string" indexed="true" stored="true" />
         <field name="copy_single_i_dvn" multiValued="false" type="int"    docValues="true" indexed="true" stored="false" useDocValuesAsStored="false" />
         <field name="copy_single_d_dvn" multiValued="false" type="double" docValues="true" indexed="true" stored="false" useDocValuesAsStored="false" />
         <field name="copy_single_s_dvn" multiValued="false" type="string" docValues="true" indexed="true" stored="false" useDocValuesAsStored="false" />
      

      Below is the exception

      Caused by: java.lang.IllegalArgumentException: DocValuesField
       "copy_single_i_dvn" appears more than once in this document 
      (only one value is allowed per field)
      

      Attachments

        1. SOLR-9034.patch
          10 kB
          Ishan Chattopadhyaya
        2. SOLR-9034.patch
          9 kB
          Yonik Seeley
        3. SOLR-9034.patch
          9 kB
          Karthik Ramachandran

        Activity

          People

            yseeley@gmail.com Yonik Seeley
            mrkarthik Karthik Ramachandran
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: