I'm trying to create a custom report that shows Current Crawling Time/Duration with Status on either Full or Incremental Crawl.
Does anyone know what the API that I can use to get such the information?
I'm trying to create a custom report that shows Current Crawling Time/Duration with Status on either Full or Incremental Crawl.
Does anyone know what the API that I can use to get such the information?
Not sure of the name but here is a good series of articles on the search API and may point you in the correct direction if someone cannot provide the full name.
http://www.helloitsliam.com/archive/2009/05/01/moss2007-–-using-the-search-api-part-1.aspx
It is the Microsoft.Office.Server.Search.Administration.CrawlHistory class.
The SDK even has an article on this: http://msdn.microsoft.com/en-us/library/cc789570.aspx