Forcing a Master Merge

Note

Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.

 

This code segment uses the GetCatalogByName method of the gCiAdmin AdminIndexServer object to create CiCatalog, a global CatAdm object. It then uses the ForceMasterMerge method of the CiCatalog CatAdm object to force a master merge of the catalog. The ForceMasterMergeMethod procedure is called whenever the option to force a master merge of the catalog is selected on the form.

Private Sub ForceMasterMergeMethod()
...
    Dim CiCatalog As Object

    Set CiCatalog = ISAdminForm.gCiAdmin.GetCatalogByName(Tag)

    CiCatalog.ForceMasterMerge
...
End Sub