Click to Rate and Give Feedback
MSDN
MSDN Library
System Services
Indexing Service
Objects
CatAdm
 
CatAdm

The CatAdm catalog administration object manages a catalog definition for Indexing Service. The catalog defines the set of documents to index by specifying the list of directories that are used by Indexing Service to determine the files to index. Catalog objects can be created only by means of the AddCatalog method on the AdminIndexServer object and can be retrieved in the following ways.

The properties supported on this object include counters that show the current state of the indexing process.

Use methods defined on the CatAdm object to monitor performance, adjust local parameters, force merges, and add and remove scopes from the catalog.

Remarks

Access CatAdm objects only through methods defined on the AdminIndexServer object.

This object supports IErrorInfo to report errors.

The following table lists the catalog properties of CatAdm objects. Many of these properties can only be retrieved while Indexing Service is running.

Property namesTypeAccessDescription
CatalogLocationSTRR/OCase-insensitive path.
CatalogNameSTRR/OCase-insensitive catalog name.
DelayedFilterCountLONGR/OCount of documents delayed for indexing. This reflects the number of documents that couldn't be indexed during a previous pass for various reasons, such as sharing violations.
DocumentsToFilterLONGR/ONumber of documents to index.
FilteredDocumentCountLONGR/ONumber of documents indexed since the last time Indexing Service started.
FreshTestCountLONGR/OFOR INTERNAL USE.
IndexSizeLONGR/OTotal size of the index in megabytes. Includes master and shadow indexes, and the property store.
IsUpToDateVARIANT_BOOLR/OFlag indicating whether index is up to date.
PctMergeCompleteLONGR/OPercentage of merge process completed.
PendingScanCountLONGR/ONumber of directories to be scanned.
PersistentIndexCountLONGR/ONumber of persistent indexes that currently exist.
QueryCountLONGR/ONumber of active queries since Indexing Service started.
StateInfoLONGR/OA combination of CI_STATE_* constants reflecting the state of the service.
TotalDocumentCountLONGR/OTotal document count in the set of documents to index.
UniqueKeyCountLONGR/ONumber of unique keys. Includes existing persistent indexes and nonpersistent wordlists.
WordListCountLONGR/ONumber of existing word lists.

Method namesDescription
AddScopeCreates a new scope.
ContinueCatalogStarts the catalog and returns its previous state.
FindFirstScopeFinds the first scope in an enumeration.
FindNextScopeFinds the next scope in an enumeration.
ForceMasterMergeBegins a master index merge for the catalog.
GetScopeRetrieves current scope object.
GetScopeByAliasRetrieves scope object by alias name.
GetScopeByPathRetrieves scope object by path name.
IsCatalogPausedChecks whether the catalog is in read-only mode.
IsCatalogRunningChecks whether the catalog is in read/write mode.
IsCatalogStoppedChecks whether the catalog is stopped.
PauseCatalogPauses the catalog and returns its previous state.
RemoveScopeRemoves an existing scope object from a collection.
StartCatalogStarts the catalog and returns its previous state.
StopCatalogStops the catalog and returns its previous state.

Requirements

  Windows 2000 or later: Requires Windows 2000 or later.
  Import Library: Included as a resource in ciodm.dll.

See Also

Secure Code Practices

 

© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker