none
Can a custom connector get notifications from SharePoint when an item is indexed? RRS feed

  • Question

  • I wrote a custom connector for SharePoint 2010. I'd like to know what happens after I pass an item/document to SharePoint/FAST Content SSA. Is there any events that SharePoint raises or some other mechanism to be notified about the fate of an item?

    Thanks!

    Erkan

    Wednesday, October 26, 2011 4:55 PM

All replies

  • Hi Erkan,

    It's called the crawl log :)

    When an item is either indexed or fails, a callback is sent back from FAST to the Content SSA, and it's logged in the crawler log. (This is true if you wrote a BCS connector). Or did you use the Content API?

    Regards,
    Mikael Svenson 


    Search Enthusiast - SharePoint MVP/WCF4/ASP.Net4
    http://techmikael.blogspot.com/
    Wednesday, October 26, 2011 8:49 PM
  • And, there are no events triggered by the crawl log, but you can at least access it programmatically, as described here:

    http://blogs.msdn.com/b/spses/archive/2011/06/22/exporting-sharepoint-2010-search-crawl-logs.aspx

    Regards


    Thomas Svensen | Microsoft Consulting Services
    Thursday, October 27, 2011 9:55 AM
    Moderator
  • I wrote a BCS connector. I know it's in the crawl log :) but was hoping that there might be some events that the crawl log fires so I can monitor it programmatically. Apparently, that's not the case.

    I saw the blog on how to access the crawl log programmatically using the LogViewer class however LogViewer has been made obsolete in SP 2010 and I couldn't find anything in MSDN that talks about what replaces it in SP 2010. I don't want to build my logic based on an obsolete API. Do you know what can be used in SP 2010 instead?

    Thanks

    Erkan

     

    Thursday, October 27, 2011 2:42 PM
  • Hi Erkan,

    I did some digging into this the other day when researching another matter, and I couldn't find anything.

    My guess is that something new will arrive in Wave15, that's why they marked it as obsolete.

    Regards,
    Mikael Svenson 


    Search Enthusiast - SharePoint MVP/WCF4/ASP.Net4
    http://techmikael.blogspot.com/
    Thursday, October 27, 2011 6:31 PM