Lucene index is able to search abut unable to update. we are able to search for something created before certain period buit not after that period.
0 posts in topic
Flat View  Flat View

Posted By:   Pratheep_Tharmalingam
Posted On:   Thursday, December 8, 2011 12:44 PM

some more information

this is where the set up is being done. but the syncIndex is not being called and not sure why...and could it be a problem...

protected static TimerCallback _timerDelegate = SyncIndex;
protected static Timer _syncTimer = new Timer(_timerDelegate, null, TimeSpan.FromMilliseconds(-1), TimeSpan.FromMinutes(_updateInterval));
protected static bool running = false;

public static void SyncIndex(Object stateInfo)
new SearchService().UpdateIndex();

About | Sitemap | Contact