Solr
  1. Solr
  2. SOLR-3349

Required field cannot be satisfied by copyField

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: None
    • Component/s: Schema and Analysis
    • Labels:
      None

      Description

      While trying to diagnose another problem, I tried the following pair of elements in my schema.xml:

       <uniqueKey>id</uniqueKey>
       <copyField source="bt_rni_Name_UID" dest="id"/>
      

      I can't insert documents; I get:

      org.apache.solr.common.SolrException: Document is missing mandatory uniqueKey field: id

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Hoss Man
              Reporter:
              Benson Margulies
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development