Deleting a Solr Collection

When you "drop a database", you will need to delete its Solr Collection, if there is one. If all you want to do is delete a Solr Collection, skip steps 2 and 3.

Procedure

  1. Stop the Crawler Service.
  2. Remove the database name from the DATABASES_TO_INDEX value in the registry found under key "..\XyEnterprise\Contenta Crawler"
  3. From the command line, run dropdb.
  4. Stop the Solr Service.
  5. Delete the Solr collection directory for the database, usually located under the path <Contenta_Home>\Tools\Solr\example\solr\
  6. Start the Solr Service.
  7. Start the Crawler Service.