2.2.3.1 CPMCiStateInOut
The CPMCiStateInOut message contains information about the state of the GSS.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cbStruct |
|||||||||||||||||||||||||||||||
cWordList |
|||||||||||||||||||||||||||||||
cPersistentIndex |
|||||||||||||||||||||||||||||||
cQueries |
|||||||||||||||||||||||||||||||
cDocuments |
|||||||||||||||||||||||||||||||
cFreshTest |
|||||||||||||||||||||||||||||||
dwMergeProgress |
|||||||||||||||||||||||||||||||
eState |
|||||||||||||||||||||||||||||||
cFilteredDocuments |
|||||||||||||||||||||||||||||||
cTotalDocuments |
|||||||||||||||||||||||||||||||
cPendingScans |
|||||||||||||||||||||||||||||||
dwIndexSize |
|||||||||||||||||||||||||||||||
cUniqueKeys |
|||||||||||||||||||||||||||||||
cSecQDocuments |
|||||||||||||||||||||||||||||||
dwPropCacheSize |
cbStruct (4 bytes): A 32-bit unsigned integer indicating the size, in bytes, of this message (excluding the common header). MUST be set to 0x0000003C.
cWordList (4 bytes): A 32-bit unsigned integer containing the number of in-memory indexes created for recently indexed documents.
cPersistentIndex (4 bytes): A 32-bit unsigned integer containing the number of persisted indexes.
cQueries (4 bytes): A 32-bit unsigned integer indicating a number of actively running queries.
cDocuments (4 bytes): A 32-bit unsigned integer indicating the total number of documents waiting to be indexed.
cFreshTest (4 bytes): A 32-bit unsigned integer indicating the number of unique documents with information in indexes that are not fully optimized for performance.
dwMergeProgress (4 bytes): A 32-bit unsigned integer specifying the completion percentage of current full optimization of indexes while optimization is in progress. MUST be less than or equal to 100.
eState (4 bytes): A 32-bit unsigned integer indicating the state of content indexing. MUST be zero or one or more of the CI_STATE_* constants defined in the following table.
-
Value
Meaning
0x00000000
None of the following states apply.
CI_STATE_SHADOW_MERGE
0x00000001
The GSS is in the process of optimizing some of the indexes to reduce memory usage and improve query performance.
CI_STATE_MASTER_MERGE
0x00000002
The GSS is in the process of full optimization for all indexes.
CI_STATE_CONTENT_SCAN_REQUIRED
0x00000004
Some documents in the inverted index have changed and the GSS needs to determine which have been added, changed, or deleted.
CI_STATE_ANNEALING_MERGE
0x00000008
The GSS is in the process of optimizing indexes to reduce memory usage and improve query performance. This process is more comprehensive than the one identified by the CI_STATE_SHADOW_MERGE value, but it is not as comprehensive as specified by the CI_STATE_MASTER_MERGE value. Such optimizations are implementation-specific as they depend on the way data is stored internally; the optimizations do not affect the protocol in any way other than response time.
CI_STATE_SCANNING
0x00000010
The GSS is checking a directory or a set of directories to determine if any files have been added, deleted, or updated since the last time the directory was indexed.
CI_STATE_LOW_MEMORY
0x00000080
Most of the virtual memory of the server is in use.
CI_STATE_HIGH_IO
0x00000100
The level of input/output (I/O) activity on the server is relatively high.
CI_STATE_MASTER_MERGE_PAUSED
0x00000200
The process of full optimization for all indexes that was in progress has been paused. This is given for informative purposes only and does not affect the Windows Search Protocol.
CI_STATE_READ_ONLY
0x00000400
The portion of the GSS that picks up new documents to index has been paused. This is given for informative purposes only and does not affect the Windows Search Protocol.
CI_STATE_BATTERY_POWER
0x00000800
The portion of the GSS that picks up new documents to index has been paused to conserve battery lifetime but still replies to the queries. This is given for informative purposes only and does not affect the Windows Search Protocol.
CI_STATE_USER_ACTIVE
0x00001000
The portion of the GSS that picks up new documents to index has been paused due to high activity by the user (keyboard or mouse) but still replies to the queries. This is given for informative purposes only and does not affect the Windows Search Protocol.
CI_STATE_LOW_DISK
0x00010000
The service is paused due to low disk availability.
CI_STATE_HIGH_CPU
0x00020000
The service is paused due to high CPU usage.
cFilteredDocuments (4 bytes): A 32-bit unsigned integer indicating the number of documents indexed since content indexing began.
cTotalDocuments (4 bytes): A 32-bit unsigned integer indicating the total number of documents in the system.
cPendingScans (4 bytes): A 32-bit unsigned integer indicating the number of pending high-level indexing operations. The meaning of this value is provider-specific, but larger numbers are expected to indicate that more indexing remains.<4>
dwIndexSize (4 bytes): A 32-bit unsigned integer indicating the size, in megabytes, of the index (excluding the property cache).
cUniqueKeys (4 bytes): A 32-bit unsigned integer indicating the approximate number of unique keys in the catalog.
cSecQDocuments (4 bytes): A 32-bit unsigned integer indicating the number of documents that the GSS will attempt to index again because of a failure during the initial indexing attempt.
dwPropCacheSize (4 bytes): A 32-bit unsigned integer indicating the size, in megabytes, of the property cache.