Support Questions
Find answers, ask questions, and share your expertise

Solr cores not being created due to error in XML

Solved Go to solution

Solr cores not being created due to error in XML

Guru

If the following error shows up when you are trying to create a solr core:

Unable to create core [tweets_shard1_replica1] Caused by: XML document structures must start and end within the same entity.

How do you get past this issue?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Solr cores not being created due to error in XML

Guru

You must verify that the solrconfig.xml has valid XML format and isn't missing entities.

You can use this website to validate the XML : XML Validator

You can also get a fresh copy of the solrconfig file from github if you have modified the original and don't have a backup.

solrconfig.xml

View solution in original post

1 REPLY 1

Re: Solr cores not being created due to error in XML

Guru

You must verify that the solrconfig.xml has valid XML format and isn't missing entities.

You can use this website to validate the XML : XML Validator

You can also get a fresh copy of the solrconfig file from github if you have modified the original and don't have a backup.

solrconfig.xml

View solution in original post