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

[Copy Field][Importing] Copy Field duplicate a field and a multivalued field can be created without having field multivalued in schema

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1
    • None
    • clients - java
    • two Solr 3.1 on linux.

    Description

      we have two field on both solr:

      <field name="A" type="text" indexed="true" stored="true"/>
      <field name="B" type="string" indexed="true" stored="true"/>

      <copyField source="A" dest="B"/>

      We have a SolrDocument reader (solrj client without pojo binding) that takes all docs from one solr and SolrInputDocument write them on the other solr.

      On B field in the target solr we ended with an Array containing the duplicate value we have on the first solr. How could solr internally break schema ?

      Attachments

        1. SOLR-3502-4x.patch
          4 kB
          Jack Krupansky

        Activity

          People

            Unassigned Unassigned
            alexistp Alexis Torres Paderewski
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified