Writing IDA Scripts

Administrative requests are very similar to queries, except the parameters are stored in an .ida file instead of an .idq file. You can write your own IDA scripts with the following parameters:

Parameter Description Optional
CiCatalog Specifies location of catalog. If not found, default specified in registry is used. Yes
CiTemplate Specifies template to use if administration operation is successful. Standard .idq error semantics apply. No
CiAdminOperation One of: GetState, ForceMerge, or ScanRoots. If not specified, defaults to GetState. Yes
CiLocale Defines the locale used to issue the query. Index Server supports standard HTML locale encoding. Yes

You can also add user-defined variables in the same manner as .idq files.

Note   Some administrative operations can change the state of the index. Administrative operations are restricted based on an access control list (ACL). See the Security page for more information on security.

Note   Do not put .ida files on a virtual root pointing to a remote Uniform Naming Convention (UNC) share.


© 1997 by Microsoft Corporation. All rights reserved.