Share via


Query-Language Dialects

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.

 

Indexing Service accepts queries composed in a language designed especially for Indexing Service. This language has two dialects: Query Dialect 1 is the language used in Index Server 2.0 and earlier versions, and Query Dialect 2 is the language introduced in Indexing Service 3.0. Usually, Dialect 2 is the preferred dialect to use because it is more expressive, flexible, and extensible. The short form of Dialect 2 is compatible with Dialect 1 with a few exceptions. Usually a query submitted as Dialect 2 can employ Dialect 1 syntax.

Microsoft Visual Basic and Microsoft Visual J++ applications and Microsoft Visual Basic Scripting Edition (VBScript) and Microsoft JScript scripts can submit queries in these dialects using the Query Helper functions. Microsoft Visual C++ applications can submit queries in these dialects using the OLE DB Helper functions. IDQ+HTX scripts can submit queries in these dialects using the ISAPI Extensions.

This section describes the syntax of the query-language dialects. The topics include:

For details about semantics and use of the query language dialects, see Indexing Service Query Language. For a description of incompatibilities between the two dialects, see Incompatibilities of Dialect 2 with Dialect 1.