Programming Index Server

[This is preliminary documentation and subject to change.]

This section describes the API exposed by Microsoft® Index Server Version 3.0.

Microsoft Index Server is designed to perform content and property searches over file systems. The Index Server API enables applications to add features that exploit an indexed file system. Using the API, an application can issue queries over file systems and present the results to the user.

Most programmatic access to Index Server is through Microsoft® OLE DB. Index Server supports all required interfaces to be an OLE DB provider. For a list of OLE DB interfaces supported, refer to the section OLE DB Interfaces Supported by Index Server. For a list of defaults for OLE DB properties, refer to the section Supported OLE DB Properties. For information about OLE DB, refer to the OLE DB Programmer's Reference.

Index Server supports command trees as they are currently planned to be implemented in OLE DB Version 2.0. To enable command tree definitions in oledb.h, define the constant OLEDBVER in program source files before including oledb.h:

#define OLEDBVER 0x200
 

Where necessary or convenient, Index Server has defined API functions, ICommandProperty properties, and property set extensions to OLE DB. These extensions make it easier to write applications that make use of Index Server. This section describes these extensions.