lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-3349) Required field cannot be satisfied by copyField
Date Wed, 11 Apr 2012 11:42:18 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message