Forcing the index server to index
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Index Server > Forcing the index server to index




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Forcing the index server to index  
FSBarker


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:05 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register