Compartir a través de


CI_STATE_* 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.]

Reflects the state of the current activities of Indexing Service, including merges, scans, and performance indicators on the computer running the service.

Constant/value Description
CI_STATE_ANNEALING_MERGE
0x8
An annealing merge is in process.
CI_STATE_BATTERY_POWER
0x800
The service is paused to conserve battery lifetime. The threshold for entering this state depends on the value of the MinWordlistBattery registry entry.
CI_STATE_CONTENT_SCAN_REQUIRED
0x4
Some documents in the index have changed and Indexing Service needs to determine which have been added, changed, or deleted.
CI_STATE_HIGH_IO
0x100
The level of input/output (I/O) activity on the computer running Indexing Service is relatively high. The threshold for entering this state depends on the value of the MaxWordlistIo registry entry. In this state, indexing is paused, but queries continue to be accepted.
CI_STATE_INDEX_MIGRATION_MERGE
0x40
The catalog is in the process of being merged for the purpose of migrating the catalog.
CI_STATE_LOW_MEMORY
0x80
Most of the virtual memory of the computer running Indexing Service is in use. The threshold for entering this state depends on the value of the MinWordlistMemory registry entry. In this state, indexing is paused, but queries continue to be accepted.
CI_STATE_MASTER_MERGE
0x2
A master merge is in process.
CI_STATE_MASTER_MERGE_PAUSED
0x200
The master merge that was in progress has been paused.
CI_STATE_READ_ONLY
0x400
The service has been manually paused.
CI_STATE_READING_USNS
0x4000
The service has not read the USN journal from one or more volumes being indexed. The index might not be up to date.
CI_STATE_RECOVERING
0x20
The service is starting from the last saved state and is in the process of recovering.
CI_STATE_SCANNING
0x10
A scan is in process.
CI_STATE_SHADOW_MERGE
0x1
A shadow merge is in process.
CI_STATE_STARTING
0x2000
The service is starting. Queries can be run, but scanning and notification have not been enabled yet.
CI_STATE_USER_ACTIVE
0x1000
The service is paused due to high activity by the user (keyboard or mouse). The threshold for entering this state depends on the value of the WordlistUserIdle registry entry. In this state, indexing is paused, but queries are still accepted.

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

CIState

CI_STATE