Reputation: 1380
I am trying to delete a schema from SOLR 9. The schemas were created as part of following the tutorials: https://solr.apache.org/guide/solr/latest/getting-started/tutorial-films.html
The schema designer doesn't seem to have an option to delete: https://solr.apache.org/guide/solr/latest/indexing-guide/schema-designer.html
I have tried deleting the core by executing the command:
C:\solr-9.0.0>bin\solr.cmd delete -c <core name>
but the schema still stays.
Can anyone advise how to delete it?
Upvotes: 1
Views: 1002
Reputation: 21
Thought to answer this question lately while I was looking for the answers as well. After a few searches I figured out below steps to remove the config(s):
docker run \
-d -p 9000:9000 \
--name zoonavigator \
--restart unless-stopped \
elkozmon/zoonavigator:latest
host.docker.internal:2181
. Since, I have my setup on WindowsOS with Docker v18.03+, I used the special DNS name host.docker.internal
which will resolve to the internal IP address used by the host.solr/configs
location and you will see all the configs available including the ones created through Solr schema designer console. Click on the 3 vertical dots against the config for an option to delete the config. Delete the ones you are looking for and you are done!Hope this helps!
Upvotes: 2