icon Microsoft Search Server
Created by Orckestra

C1 CMS Versions supported

This package requires CMS version 2.0 or newer (Build: 2.0.3919.5834).

Launch the CMS Console, then open the top menu item “Help” and click “About C1 CMS”.

Prerequisites:

Pre-Installation Steps

  1. Install and set up Microsoft Search Server 2008 Express or Microsoft Search Server 2010 Express.
  2. Handle the issue of long server names.
  3. We highly recommend that you configure support for the case-sensitive URLs.
  4. Set up indexing Adobe PDF, Microsoft DOCX and other file types on Microsoft Search Server Express if you want the user to search within PDF, DOCX and other types of files on your website.
  5. If necessary, exclude parts of a page from being indexed by Microsoft Search Server 2008/2010 Express.

Installation steps

  1. Log into the CMS Console as an administrator.
  2. Go to the "System" perspective.
  3. Open the folders “Packages” | “Available Packages” | " Composite.Search".
  4. Select " Composite.Search.MicrosoftSearchServer" and click “Install”.
  5. Complete the wizard.

Handling the issue of long server names

There is an known issue with long server names when calling the MS Search Server, your Search Service Url must contain the server name only, not the IP or long name. The workaround is to add the record "your_server_ip your_server_name" to the C:\WINDOWS\system32\drivers\etc\hosts file in your web server.

Configuring the search server to crawl case-sensitive URLs

  • Microsoft Search Server 2008 Express:
    locate and set the value of CaseSensitiveUrls to "1" in the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Applications\GUID\Gather\Portal_Content 
    (Read more detailed information here.)
  • Microsoft Search Server 2010 Express:
    create a crawl rule that should include all necessary URLs (e.g. "http://*") and enable its Match case option.

Excluding page content from indexing

Make sure that RemapperHttpModule is specified in the Web.config on your CMS Website. If not, do the following:

  1. Open the Web.config on your CMS Website.
  2. Add the following configuration under <httpModules> and <modules> (for IIS 7.0 or later) elements:
    <add name="MssRemaper" type="Composite.Search.MicrosoftSearchServer.RemapperHttpModule" />

Now, to exclude a part of a page from being indexed by Microsoft Search Server:

  1. Open the page in Source Editor.
  2. Locate the element you want to exclude from indexing.
  3. Add the class attribute with the "noindex" value to the element (class="noindex"):
    e.g. <div class="noindex">
  4. Re-index your website.

Tips and Tricks

How to index the entire website without indexing its menu?

Normally, the words in the menu titles on your website get indexed. So if you have a menu title like "Products" and use the menu across the website, the search for "products" will return all the pages where the menu is used.

To avoid this, you can exclude the menu from being indexed as described above. However, in this case, the crawler will not be able to follow the links in the menu, and your site may end up not well indexed.

To handle this, you should have a sitemap page on your website so that the crawler could index the entire website by following the links on your sitemap.

Version info

Current version
1.2.5
Package ID
94e92fe9-b8bc-4f2f-a436-b33b20baa3be