: There is nothing wrong with the declaration of the 'id' field, and I have it : working fine when it's not using SolrCloud/HDFS. One odd thing is the part
...I can't explain that, but as far as this... : that says "Schema file is solr/<core name>/schema.xml", because there is no : schema file there. I have no idea where it is getting that path from. All of It's a bug in the error message itself... https://issues.apache.org/jira/browse/SOLR-5814 : the schema files are in solr/<core name>/conf/schema.xml. I'm not sure if : this is the problem--it must be finding the schema, otherwise how does it : know about the 'id' field? The error message is indicating an inconsistnecy in your schema.xml -- most likeley related to the <uniqueKey> declaration ... i suspect it's saying that your schema.xml defines <uniueKey>id</uniqueKey> but you have no <field name="id" .../> anywhere in your schema (hard to be sure w/o knowing exactly what version of solr you are running, and w/o seeing a full copy of your schema.xml. none of which explans why you *only* see this with SolrCloud on HDFS. Full details would help: solr.xml, solrconfig.xml, schema.xml, etc.... -Hoss http://www.lucidworks.com/