Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Smart Search Indexing View modes: 
User avatar
Certified Developer 8
Certified Developer 8
smckone-mdbconsulting.co - 12/11/2009 6:06:48 AM
   
Smart Search Indexing
I've recently noticed that the smart search index on our site does not reindex automatically. Should this be the case and should it be done as part of the Search task executor scheduled task. If not how would I go about scheduling the indexer to run at intervals during the day?

Thanks,
Simon

User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 12/11/2009 6:38:48 AM
   
RE:Smart Search Indexing
Hi,

you can create custom scheduler for this purpose:

http://devnet.kentico.com/docs/devguide/scheduling_a_custom_code.htm

In this custom scheduler code you need to call SearchTaskInfoProvider.CreateTask() method which creates task in the database and start indexer. You can get inspiration in ~\CMSModules\SmartSearch\Controls\UI\SearchIndex_General.ascx.cs file.

I hope this will help you.

Best regards,
Miroslav Remias.