Adding New Documents to the Corpus

Index Server uses IIS virtual directories to control indexing. To index a set of documents stored on the computer, the directory storing those documents must fall under an IIS virtual directory. This tour assumes familiarity with IIS. If you are unfamiliar with IIS and virtual directories, you should refer to the IIS documentation.

Index Server works best with disks formatted as Windows NT File System (NTFS). This format minimizes the impact of internal fragmentation due to large cluster sizes. Also, with an NTFS volume, you can experiment with the security features of Index Server.

This test drive takes you through three main steps in setting up a directory to search a group of documents.

  1. Create a new directory on your Web server.
  2. Make it a virtual directory, which allows it to be searched.
  3. Move a sample corpus into the directory you just created.

The sample corpus contains four files and consumes 145 kilobytes (KB) of disk space.

File name File type
Ixserver.xls Microsoft® Excel
Ixserver.ppt Microsoft® PowerPoint®
Ixserver.doc Microsoft® Word for Windows
Ixgerman.doc Microsoft® Word for Windows

By default, these files are installed in the InetPub\IisSamples\IsSamples directory.

To create a directory for storing the sample corpus

  1. On your Web server, select a disk that has at least 150 KB of free disk space.
    This space is required to store the sample corpus. The corpus can be stored anywhere on the disk; however, storing it at the root of the volume is simplest.
  2. Create a directory called Corpus (for example, C:\Corpus).
  3. On the Taskbar, click Start , point to Programs, point to Windows NT 4.0 Option Pack, point to Microsoft Internet Information Server, and click Internet Service Manager.
  4. In Microsoft Management Console (MMC), double-click Internet Information Server.
  5. Double-click the icon for the Local Computer.
  6. Double-click Default Web Site.
  7. A list of virtual directories appears.

 

To create a new virtual directory
  1. In the Internet Service Manager, right-click Default Web Site.
  2. Select New and then Virtual Directory.
  3. The New Virtual Directory Wizard appears.

  4. In the Alias to be used . . . box, type Corpus, and click the Next key.
  5. Click the Browse button and double-click the drive where the Corpus directory is located.
  6. From the list of directories on the drive, double-click Corpus.
  7. Click the OK button.
  8. Click the Next button.
  9. A list of access permissions for the directory appears, with Read and Script access selected by default. Read access allows users to search the directory and see documents that match their search. Script access allows users to execute any script files you may want to put into the directory.

  10. Click the Finish button to accept the default permissions.
  11. The Corpus virtual directory appears in the list of virtual directories in the MMC. This virtual directory maps to the physical Corpus directory that you created earlier on this page.

  12. Close the MMC, and click the Yes button to save your changes.
  13. Move the four sample files listed earlier on this page into the Corpus directory.

As files are moved to the Corpus directory, change notifications are sent to Index Server, which then indexes the documents immediately.


© 1997 by Microsoft Corporation. All rights reserved.