Developer forum

Forum » Development » 8.3 IndexUpdateService.Current.CreateTask(

8.3 IndexUpdateService.Current.CreateTask(

Remi Muller
Reply

I am using the following code to start a task to update the index:

Dynamicweb.Searching.Management.IndexUpdateService.Current.CreateTask("Products", true);

This does not seem to work anymore?? If i look in the backend the index is not updating.

 

If i use the next code it does work but i do not want to wait for the index update to be finished.

Dynamicweb.Searching.IndexManager.Current.UpdateIndex("Products", true);

 

Is this a bug or has something changed?


Replies

 

You must be logged in to post in the forum