Other than deleting the collection, I think you'll have to edit the 
manage-schema file manually.

Since you are using SolrCloud you will need to use Solr's zkcli 
(https://cwiki.apache.org/confluence/display/solr/Command+Line+Utilities) 
utility to download and upload the file from ZooKeeper.


Alexandre Drouin


-----Original Message-----
From: Michael Joyner [mailto:mich...@newsrx.com] 
Sent: July 26, 2016 3:48 PM
To: solr-user@lucene.apache.org
Subject: Re: Can't load schema managed-schema: unknown field 'id'
Importance: High

Same error via the UI:

Can't load schema managed-schema: unknown field 'id'


On 07/26/2016 03:05 PM, Alexandre Drouin wrote:
> Hello,
>
> You may have a uniqueKey that points to a field that do not exists anymore.  
> You can try adding an "id" field using Solr's UI or the schema API since you 
> are using the managed-schema.
>
>
> Alexandre Drouin
>
> -----Original Message-----
> From: Michael Joyner [mailto:mich...@newsrx.com]
> Sent: July 26, 2016 2:34 PM
> To: solr-user@lucene.apache.org
> Subject: Can't load schema managed-schema: unknown field 'id'
>
> |Help!|
>
> |
> |
>
> |What is the best way to recover from: |
>
> Can't load schema managed-schema: unknown field 'id'
> |I was managing the schema on a test collection, fat fingered it, but now
> I find out the schema ops seem to altering all collections on the core?
> SolrCloud 5.5.1 |||
>
> |
> -Mike|||

Reply via email to