CatalogStatus Enumerated Type

Used by ISearchCatalogManager::GetCatalogStatus to determine the current state of the catalog.

Syntax

typedef enum _CatalogStatus {
    CATALOG_STATUS_IDLE = 0,
    CATALOG_STATUS_PAUSED = 1,
    CATALOG_STATUS_RECOVERING = 2,
    CATALOG_STATUS_FULL_CRAWL = 3,
    CATALOG_STATUS_INCREMENTAL_CRAWL = 4,
    CATALOG_STATUS_PROCESSING_NOTIFICATIONS = 5,
    CATALOG_STATUS_SHUTTING_DOWN = 6
} CatalogStatus;

Constants

  • CATALOG_STATUS_IDLE
    Index is current, no indexing needed. Queries can be processed.

  • CATALOG_STATUS_PAUSED
    Indexer is paused. This can happen either because the user selected to pause indexing or the indexer back-off criteria has been met. Queries can be processed.

  • CATALOG_STATUS_RECOVERING
    Index is recovering, queries and indexing are processed while in this state.

  • CATALOG_STATUS_FULL_CRAWL
    Indexer is currently executing a full crawl and will index everything it is configured to index. Queries can be processed while indexing.

  • CATALOG_STATUS_INCREMENTAL_CRAWL
    Indexer is preforming a crawl to see if anything has changed or requires indexing. Queries can be processed while indexing.

  • CATALOG_STATUS_PROCESSING_NOTIFICATIONS
    Indexer is processing the notification queue. This is done before resuming any crawl.

  • CATALOG_STATUS_SHUTTING_DOWN
    Indexer is shutting down and is not indexing. Indexer can't be queried.

Enumerated Type Information

Header and IDL files searchapi.h, searchcatalog.idl
Minimum operating systems Windows XP Service Pack 2 (SP2), Windows Server 2003, Windows Vista