[ https://issues.apache.org/jira/browse/SOLR-3349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hoss Man resolved SOLR-3349. ---------------------------- Resolution: Fixed Assignee: Hoss Man > 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 > Assignee: Hoss Man > > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org