You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Benson Margulies (Created) (JIRA)" <ji...@apache.org> on 2012/04/11 13:42:18 UTC

[jira] [Created] (SOLR-3349) Required field cannot be satisfied by copyField

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


[jira] [Resolved] (SOLR-3349) Required field cannot be satisfied by copyField

Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
     [ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org