Microsoft Search Server
Created by Orckestra
C1 CMS Versions supported
This package requires CMS version 2.0 or newer (Build: 2.0.3919.5834).
Prerequisites:
- Setting up Microsoft Search Server 2008 Express
- Index various types of commonly used files on Microsoft Search Server
- Setting up Microsoft Search Server 2010 Express
Pre-Installation Steps
- Install and set up Microsoft Search Server 2008 Express or Microsoft Search Server 2010 Express.
- Handle the issue of long server names.
- We highly recommend that you configure support for the case-sensitive URLs.
- 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.
- If necessary, exclude parts of a page from being indexed by Microsoft Search Server 2008/2010 Express.
Installation steps
- Log into the CMS Console as an administrator.
- Go to the "System" perspective.
- Open the folders “Packages” | “Available Packages” | " Composite.Search".
- Select " Composite.Search.MicrosoftSearchServer" and click “Install”.
- 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 ofCaseSensitiveUrls
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:
- Open the Web.config on your CMS Website.
- 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:
- Open the page in Source Editor.
- Locate the element you want to exclude from indexing.
- Add the
class
attribute with the "noindex" value to the element (class="noindex"
):
e.g.<div class="noindex">
- 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