Querying the Index Programmatically

There are several ways to use Windows Search to query the index.

This section provides the conceptual framework for querying the index programmatically:

Note

Legacy Microsoft Windows Desktop Search (WDS) 2x compatibility: On computers running Windows XP and later, ISearchDesktop is deprecated. Instead, developers should use ISearchQueryHelper to get a connection string and to parse the user's query into Structured Query Language (SQL), and then query through Object Linking and Embedding Database (OLE DB).

 

Additional Resources

Windows Search Development Guide

Managing the Index

Extending the Windows Search Index

Extending Language Resources