CICAT_* Constants

[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.]

Set and retrieve the state of an Indexing Service catalog. When setting the state, these values represent mutually exclusive states of the catalog and are not meant to be combined.

Constant/value Description
CICAT_GET_STATE
0x10
Retrieve the current state of the catalog.
CICAT_NO_QUERY
0x8
Set the catalog to a no-query state. Indexing can take place, but querying cannot.
CICAT_READONLY
0x2
Set the catalog to read-only. Querying can take place, but indexing cannot.
CICAT_STOPPED
0x1
Stop the catalog. No querying or indexing can take place.
CICAT_WRITABLE
0x4
Set the catalog to be writable. Both indexing and querying can take place.

Remarks

The following table describes the various states possible for an Indexing Service catalog. You do not have to stop the catalog first to set its state. To retrieve only the current state, use a setting of CICAT_GET_STATE.

Desired state Constant
Catalog stopped or offline CICAT_STOPPED
Processing queries only CICAT_READONLY
Querying and indexing CICAT_WRITABLE
Indexing only CICAT_NO_QUERY

 

Requirements

Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
End of client support
Windows 7
End of server support
Windows Server 2008 R2
Header
Ntquery.h

See also

SetCatalogState