Optimizing the search collection

Regularly optimize your search collection to keep your search collection up-to-date and fast.

Procedure

  1. To optimize the search collection, access one of the following URLs:
    • for an HTTP connection—http://cmsserver:8983/tridion/update?optimize=true
    • for an HTTPS connection over SSL—https://cmsserver:8443/tridion/update?optimize=true
  2. If the HTTPS URL prompts you for a user name and password, enter the name of the MTS User account (which is called MTSUser by default) and the password you configured for that user account.

    By accessing the URL, you perform an optimization of the search collection. If successful, the request yields an HTTP response like the following:

    <?xml version="1.0" encoding="UTF-8"?>
    <response>
    	<lst name="responseHeader">
    		<int name="status">0</int>
    		<int name="QTime">677</int>
    	</lst>
    </response>

    You can use a tool such as curl (available from http://curl.haxx.se) to interact with the URL from the command line, which in turn enables you to schedule this task in Windows.

    For more maintenance tasks of the Content Manager search collection, refer to the Solr documentation at the following URL: http://wiki.apache.org/solr/UpdateXmlMessages.