SUMMARY
This step-by-step article describes how to configure a Web site for indexing in Windows 2000.
Windows 2000 Indexing Service creates an index of document content and properties (such as file name, date created, date modified, author name, and number of characters) that can be searched quickly and easily. Index information is stored in catalogs.
If you install Indexing Service on the Web server, a default Web catalog is created in the Inetpub folder. This catalog contains an index of the default Web site. You can add and remove additional catalogs or configure existing catalogs to meet your requirements at any time. For example, you may want to create a catalog for each Web site that you want to index.
Use the Indexing Service snap-in to create catalogs and administer Indexing Service. After you create a new catalog, you must associate a Web site with the catalog, and then use the Internet Information Services (IIS) snap-in to configure the Web resources that you want to use for indexing. When you enable indexing for a Web resource, the content is included in the catalog and users can perform searches (usually by using a query form on a Web page) on that resource.
You can enable indexing at either the server, Web site, or folder level. Server level settings apply to indexable content on all Web sites on the server, site level settings apply to all indexable content within that site, and folder level settings apply to all indexable content within that folder and subfolders.
To create a catalog and configure a Web site for indexing:
- Create a new catalog.
- Associate a Web site with the catalog.
- Configure Web resources for indexing.
- Restart Indexing Service.
The following sections describe how to complete these tasks.
back to the top
How to Create a New Catalog
- Start Microsoft Windows Explorer, and then create a new folder on the local hard disk in which to store the new catalog.
- Click Start, point to Settings, and then click Control Panel.
- Double-click Administrative Tools, and then double-click Computer Management.
- Double-click Services and Applications, and then double-click Indexing Service.
- Right-click Indexing Service, point to New, and then click Catalog.
- In the Name box, type a name for your new catalog.
- Click Browse, click the folder that you created in step 1, and then click OK twice.
- When you receive the "Catalog will remain off-line until Indexing Service is restarted" message, click OK.
The new catalog is created and it is listed under
Indexing Service in the console tree.
back to the top
How to Associate a Web Site with the Catalog
After you create a new catalog, you must associate a Web site with the catalog:
- Under Indexing Service in the console tree of the Computer Management window, right-click the catalog that you want, and then click Properties.
- Click the Tracking tab.
- In the WWW Server box, click the Web site that you want to associate with the catalog, and then click OK.
back to the top
How to Configure Web Resources for Indexing
After you associate a Web site with a catalog, specify the Web resources that you want to index:
- Start Internet Services Manager.
Alternatively, start the IIS snap-in in Microsoft Management Console (MMC). - Click to expand * server name, where server name is the name of the server.
- Right-click either the Web site or folder for which you want to enable indexing, and then click Properties.
- Click one of the following tabs that is appropriate to your situation:
- Home Directory
- Virtual Directory
- Directory
- Click to select the Index this resource check box, and then click OK.
NOTE: To turn off indexing for a Web site or folder, click to clear the Index this resource check box, and then click OK.
After you change settings for a Web site or virtual folder, IIS checks the existing settings in use on the child nodes (virtual folders and files) that are contained in that Web site or virtual folder. If the settings at the lower levels are different, IIS displays an Inheritance Overrides dialog box. To specify which child nodes should inherit the settings that you set at the higher level, click the node or nodes in the Child Nodes list, and then click OK. The child node inherits the new indexing setting. - Quit the IIS snap-in.
back to the top
How to Restart the Indexing Service
To begin the indexing process, restart Indexing Service:
- In the console tree of the Computer Management window, right-click Indexing Service, and then click Stop (if it is started).
- Right-click Indexing Service, and then click Start.
The catalog comes online and is populated with the index information that is extracted from the Web resources that you specified. By using a query form on a Web page, users can submit queries to search the index for documents that contain specific words, phrases, or properties.
back to the top
REFERENCES
For additional information about how to index and create a catalog for a new Web site, click the article number below
to view the article in the Microsoft Knowledge Base:
183731 How to Index and Create a Catalog for a New Web Site
For additional information about how to create and configure a catalog for indexing, click the article number below
to view the article in the Microsoft Knowledge Base:
308202 HOW TO: Create and Configure a Catalog for Indexing
For additional information about how to set up Windows 2000 Indexing Service as a generic clustered service, click the article number below
to view the article in the Microsoft Knowledge Base:
292542 HOWTO: Set Up Windows 2000 Indexing Service as a Generic Clustered Service
For more information about IIS, view the IIS 5.0 documentation. If IIS is installed on the computer, start Microsoft Internet Explorer, type the following URL in the
Address bar, and then press ENTER:
You can also view the IIS 5.0 documentation at the following Microsoft Web site:
back to the top