icon Microsoft Search Server
Created by Orckestra

Setting up Microsoft Search Server 2010 Express

Prerequisites

Before you install Search Server 2010 Express, you should make sure that all the prerequisites are in place:

  • Windows Server 2008 SP2 or Windows Server 2008 R2 (or later)
  • A number of applications and components that will be installed and configured automatically when you run the Microsoft SharePoint 2010 Products and Technologies Preparation Tool

More information

Important: In the following sections, we will refer to the server where you are going to install and run Search Server Express with a placeholder in the URL -[servername]. Make sure to replace the placeholder with your valid server name.

When you deal with administrative tasks on your server, you will run another Web application, which is normally accessed by adding its ad-hoc port number to the server name (e.g. 45225). We will refer to the application with a placeholders for both the server name and the port number –[servername:port]. Make sure to replace the placeholder with both the valid server name and valid port number.

When you perform tasks related to the Search Server Express itself, apart from the server name and the port, the URL will include the search application's GUID appended as?appid=[guid]. Make sure to replace the placeholder with the correct GUID of the search application on your server.

Installing Search Server 2010 Express

  1. Download and run the Microsoft Search Server 2010 Express installation program.
    Important: The current version is available as Beta.
  2. On the Start screen, under Install, click Install software prerequisites.
    This will help you make sure that you have all the required components in place by running Microsoft SharePoint 2010 Products and Technologies Preparation Tool, which will download, install (if missing) and configure all the required components.
  3. Once the preparation is complete, click Install Search Server.
  4. Select the Advanced installation when prompted.
  5. Select the Stand-alone for the Server Type when prompted.
  6. Once the installation is completed, make sure that you have the option Run the SharePoint Products and Technologies Configuration Wizard checked before closing the installation wizard. This will take the necessary post-installation configuration steps.
    Note: While the wizard is running IIS, and some SharePoint services might be stopped and restarted.
  7. When the installation is complete, the Search Center's Home page opens in your web browser.
    Note: If the Search Center's Home page has not appeared, you can open it manually by typing the following URL in your web browser:

    http://[servername]/default.aspx

Important:To implement the Microsoft Search Server package on your C1 website, you need to set up a number of parameters. Read more on this in the next few sections.

Permissions

To administrate and use Search Server 2010 Express, you should be a member of the Site Collection Administrators group on both the Central Administration (http://[servername:port]_layouts/mngsiteadmin.aspx) and Search Center (http://[servername]/_layouts/mngsiteadmin.aspx) sites.

More information

Determining the query Web service URL

Now that you have Search Server 2010 Express installed and configured, its Web service for remote queries is available as:

http://[servername]/_vti_bin/search.asmx

(Make sure to replace the placeholder with your valid server name.)

Important: Remember the URL to the query Web service because you will use it when implementing the Search Server functionality on your C1 website.

Running Search Administration

To start using Search Server 2010 Express, you need to configure a number of its parameters. You can access all the parameters from the Search Administration dashboard.

To access the Search Administration dashboard:

  1. From the Central Administration page (http://[servername:port]/), click Manage service applications under Application Management.
  2. On the Manage Service Applications page, click Search Service Application.

Alternatively, you can directly open the following page in your browser:

http://[servername:port]/searchadministration.aspx?appid=[guid]

A few words about what parameters you will need to configure specifically to be used with the Microsoft Search Server package:

(You can access them either from the Search Administration dashboard or by typing the specific URLs in your web browser.)

Content sources

  • Navigation menu (on the left) > Crawling > Content sources
  • URL: http://[servername:port]/_admin/search/_layouts/listcontentsources.aspx?appid=[guid]

Search scopes

  • Navigation menu (on the left) > Queries and Results > Scopes
  • URL: http://[servername:port]/_admin/search/viewscopes.aspx?appid=[guid]

Home Visitors group

  • Search Center's Home page > Site Actions > Site Settings > Users and Permissions > People and groups > Home Visitors
  • URL: http://[servername]/_layouts/people.aspx?MembershipGroupId=4

(Make sure to replace the placeholders with your valid server name and, where indicated, the port number and the search service application's GUID.)

Indexing your websites

Before users can search your website, you should have Search Server 2010 Express index the website's content by using Content sources:

  1. From the Search Administration dashboard, open Content sources (http://[servername:port]/_admin/search/_layouts/listcontentsources.aspx?appid=[guid]).
  2. Add a New Content Source.
  3. Type in the name of the source (e.g. "Contoso Website")
  4. For the content type to be crawled, select the Websites option.
  5. Type in the URL to the start page of your website (e.g. "http://www.contoso.net")
  6. To have the index up-to-date, consider scheduling regular Full or Incremental Crawling.
  7. Check the Start full crawl of this content source option and click OK. This will do the full crawling of the website for the first time.

It may take a few minutes before indexing your website is finished.

Creating search scopes

In general, search scopes allow you to control what will end up in the search results. For the Microsoft Search Server package, the scopes are first of all required to manage search results on multiple websites.

The single Search Server 2010 Express installation is normally used for multiple websites on multiple web servers. Consider the following cases for using search scopes:

  • You have a number of unrelated websites indexed by Search Server 2010 Express and you want each website to only show the search results specific to its content.
  • You have a number of related websites and you want combine search results from them.
  • You do not want some resources to appear in the search results for some websites (although these resources are indexed and might be allowed in search results on other websites).

To create a search scope for a specific website:

  1. From the Search Administration dashboard, open Scopes for this Search Center (http://[servername:port]/_admin/search/viewscopes.aspx?appid=[guid]).
  2. Add a New Scope.
  3. Type in the name for the scope (e.g. "Contoso") and, if necessary, write a description.
  4. Keep default values for other parameters and click OK.
  5. Now back on the View Scopes page, click Add rules next to your scope in the Update Status column.
  6. For the Scope Rule Type, select Content Source.
  7. In the Content Source dropdown list, select your indexed website (e.g. "http://www.contoso.net")
  8. Make sure that Include is selected for Behavior and click OK.

The scope will be updated on schedule or you can force the instant update from the Search Administration dashboard.

Important: Remember the name of the search scope because you will use it when implementing the Search Server functionality on your C1 website.

More information

Setting up access for remote users

In general, users can only access and search from the Search Center (http://[servername]/default.aspx), if they are at least members of the Home Visitors group on the Search Center site.

For the Microsoft Search Server package in particular, to make use of this search functionality on a C1 website, the credentials of the user who is the member of this Home Visitors group must be available.

First, create a Windows user (e.g. "searcher") on the server where Search Server 2010 Express is running. This user must have permissions sufficient to submit search queries and read search results.

Then, add this user to the Home Visitors group on the Search Center site:

  1. Open the Search Center's Home page and click Site Actions > Site Settings > Users and Permissions: People and groups > Home Visitors (http://[servername]/_layouts/people.aspx?MembershipGroupId=4)
  2. Click New.
  3. For Users/Groups, type in the username of the Windows user you have just created. You can click Check Names to make sure the username is valid.
  4. Click OK.

Alternatively, you can add an entire group of users instead of a single user.

Important: Remember the username and password for the user account you have set up here because you will use these credentials when implementing the Search Server functionality on your C1 website.

Now that you have installed and configured Search Server 2010 Express properly, you can implement its search functionality on your C1 website with the Microsoft Search Server package .

Creating search server administrator

You can allow another user to manage Search Server 2010 Express by granting necessary permissions to this user.

First, you should give this user the site collection administrator permissions on the Central Administration site. This will allow the user to, for example, access the Search Administration dashboard or add content sources for crawling.

  1. On the Search Administration page, click Site Actions > Site Settings > Users and Permissions : Site collection administrators (http://[servername:port]/_layouts/mngsiteadmin.aspx).
  2. Under Site Collection Administrators, type the name of the user that you want to add as a site collection administrator and click OK.

Second, you should give this user the site collection administrator permissions on the Search Center site. This will allow the user to, for example, define search scopes and set up access to the site for remote users.

  1. Open the Search Center's Home page, click Site Actions > Site Settings > Users and Permissions : Site collection administrators (http://[servername]/_layouts/mngsiteadmin.aspx).
  2. Under Site Collection Administrators, type the name of the user that you want to add as a site collection administrator and click OK.

Note: When adding more than one user, separate the users with a semicolon (";").

Summary

By now you should have:

  • Installed Microsoft Search Server 2010 Express
  • Added one or more content sources
  • Defined one or more search scopes
  • Set up at least one user as a member of the Home Visitors group on the Search Center site

To proceed with the Microsoft Search Server package, you should have the following information available:

  • Query Web service URL (pattern: http://[servername]/_vti_bin/search.asmx)
  • The name of at least one search scope
  • The username and password of at least one user account, a member of the Home Visitors group on the Search Center site
Back to top