PRIORITY_LEVEL

PRIORITY_LEVEL enumeration

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

Syntax


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

Constants

PRIORITY_LEVEL_FOREGROUND

Indicates that the indexer should process items as fast as the machine allows.

PRIORITY_LEVEL_HIGH

Indicates that the indexer should process items in this scope first, and as quickly as possible.

PRIORITY_LEVEL_LOW

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

Indicates that the indexer should process items at the normal indexer rate.

Remarks

The SearchEvents code sample, available on Code Gallery and the Windows 7 SDK, demonstrates how to prioritize indexing events.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Searchapi.h

IDL

Searchquery.idl

See also

Reference
IRowsetPrioritization
PRIORITIZE_FLAGS
ROWSETEVENT_ITEMSTATE
ROWSETEVENT_TYPE
Rowset Properties
Conceptual
Indexing Prioritization and Rowset Events in Windows 7

 

 

Community Additions

ADD
Show:
© 2016 Microsoft