03-07-06 07:49 AM
When using the Index Server admin, catalog, and scope interfaces in C#, I
need to have the index start indexing as soon as I add the new scopes. I hav
e
my code testing the DocumentsToFilter property of the catalog, can't get the
indexing started unless I manually go to the Index Service.
Any suggestions would be appreciated. Below is some of the code for adding a
scope, the specifying it Rescan().
public void AddScope(string scopePath)
{
_catalog.AddScope(scopePath, false, null, null);
IScopeAdm scope = (IScopeAdm)_catalog.GetScopeByPath(scopePath);
scope.Rescan(true);
}
Scott
[ Post a follow-up to this message ]
|