Поделиться через


Query Submittal for Indexing Service Query Language

Note

Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.

 

To use the Indexing Service query language, either Dialect 1 or Dialect 2, an application or script must use one of three APIs to submit a query. In general, these APIs feature ease of programming rather than flexibility or the fastest execution. The following table lists the APIs and summarizes how to select the dialect.

API Select Dialect By
ISAPI Extensions Specifying a value of the CiDialect variable in the .idq file.
OLE DB Helper Specifying a value from the ISQLANG_* constants for the ulDialect parameter of a CITextToFullTreeEx or CITextToSelectTreeEx function call that constructs a query.
Query Helper Specifying an appropriate value for the Query.Dialect property of a query.

 

For information about which languages and tools you can use with these APIs, see Combinations of Tasks, Languages, and APIs. For additional information about using these APIs to submit queries and for examples, see Using Indexing Service with File Systems and Using Indexing Service with Web Servers.