How to Remove a CMS Site from a Solr Search Server (Search 1.0)

  • Updated

The Ektron Solr Search 2.0 version includes a feature to remove a CMS site from search. For the previous version (Ektron Solr Search 1.0), the steps below describe how to remove CMS sites from Solr search. This can also be used in 2.0 when the removal feature does not work.


First, determine the core name for the registered site. The name is displayed in the CMS workarea, and can be found by going to Settings>Configuration>Search>Status.

I. Remove from ManifoldCF

  1. Log onto the Solr Server, open the ManifoldCF page (Start, All Programs, Ektron, Ektron Solr Search 1.0, Tools, Apache ManifoldCF).
  2. Select List all Jobs.
  3. Delete the jobs that pertain to the core (corename CGroups, corename Content, corename Users).
  4. Select Status and Job Management then refresh the screen until the Cleaning Up operations complete.
  5. Select List Repository Connections.
  6. Delete the connection for corename.
  7. Select Output Connections.
  8. Delete the connection for corename.

II. Remove from Solr

  1. Open the Solr Admin page (Start, All Programs, Ektron, Ektron Solr Search 1.0, Tools, Apache Solr).
  2. Click Core Admin.
  3. Select the core name then click the Unload button.
  4. Open the Services application.
  5. Locate the Ektron Solr Process Manager service, and click Stop.
  6. Delete the following folders:
    • C:\Program Files (x86)\Ektron\Search1.0\Solr\cores\corename
    • C:\Program Files (x86)\Ektron\Search1.0\Solr\Index\corename
    • C:\Program Files (x86)\Ektron\Search1.0\AssetCache\corename

      Note: In Ektron 9.2 Solr folder exists at C:\Solr\server\solr by default.

III. Remove from the Solr and CMS Databases

  1. Using SQL Server Management Studio, remove entries for that core from the SolrConfig database using the following queries:
    • DELETE FROM ManifoldSiteConfiguration WHERE CoreName = 'corename'
    • DELETE FROM SolrSiteConfiguration WHERE CoreName = 'corename'

      Note: The solr config database can be identified in the various config files such this one.
      C:\Program Files (x86)\Ektron\Search2.0\Administrative Service\Ektron.Cms.Search.Solr.ServiceHost.exe.config

  2. Using SQL Server Management Studio, remove the search configuration information from the CMS database using the following queries:
    • DELETE FROM search_configuration
    • DELETE FROM search_provider
    • DELETE FROM search_provider_component

IV. Restart Solr Services

  1. Start the Ektron Solr Process Manager service.
  2. Stop then start the Ektron Solr Admin Service.