PRIORITY_LEVEL enumeration (searchapi.h)

Used by the IRowsetPrioritization interface to set or retrieve the current indexer prioritization level for the scope specified by a query.

Syntax

typedef enum __MIDL___MIDL_itf_searchapi_0000_0022_0001 {
  PRIORITY_LEVEL_FOREGROUND = 0,
  PRIORITY_LEVEL_HIGH = 1,
  PRIORITY_LEVEL_LOW = 2,
  PRIORITY_LEVEL_DEFAULT = 3
} PRIORITY_LEVEL;

Constants

 
PRIORITY_LEVEL_FOREGROUND
Value: 0
Indicates that the indexer should process items as fast as the machine allows.
PRIORITY_LEVEL_HIGH
Value: 1
Indicates that the indexer should process items in this scope first, and as quickly as possible.
PRIORITY_LEVEL_LOW
Value: 2
Indicates that the indexer should process items in this scope before those at the normal rate, but after any other prioritization requests.
PRIORITY_LEVEL_DEFAULT
Value: 3
Indicates that the indexer should process items at the normal indexer rate.

Remarks

Check out the SearchEvents code sample.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header searchapi.h

See also

Conceptual

IRowsetPrioritization

Indexing Prioritization and Rowset Events in Windows 7

PRIORITIZE_FLAGS

ROWSETEVENT_ITEMSTATE

ROWSETEVENT_TYPE

Reference

Rowset Properties