Internet Data Query Files


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.


Internet Data Query files (files with an .idq extension) for Indexing Service, together with the form parameters, specify the query that Indexing Service will run. The .idq file is divided into two sections: the names section (which is optional and need not be supplied for standard queries) and the query section.

This part of the documentation contains the following topics:


All paths to .idq files must be the full path name from a virtual root, not a relative path or a physical path. In other words, all paths must start with a forward slash and cannot contain "." or ".." components. See the following examples:


Valid Paths

  • /scripts/myquery.idq

  • /iissamples/issamples/query.idq

Invalid Paths

  • c:\iissrv\scripts\myquery.idq

  • scripts/query.idq

  • /samples/../scripts/example.idq

You must put the .idq files into a virtual directory with Execute or Script permission. You cannot put .idq files into a virtual directory pointing to a remote Universal Naming Convention (UNC) share.


Indexing Service does not support physical paths longer than the Microsoft Windows 2000 shell limit (260 characters).