Required field cannot be satisfied by copyField
-----------------------------------------------

                 Key: SOLR-3349
                 URL: https://issues.apache.org/jira/browse/SOLR-3349
             Project: Solr
          Issue Type: Bug
          Components: Schema and Analysis
    Affects Versions: 4.0
            Reporter: Benson Margulies


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

{noformat}
 <uniqueKey>id</uniqueKey>
 <copyField source="bt_rni_Name_UID" dest="id"/>
{noformat}

I can't insert documents; I get:

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



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to