如何扩展Windows Desktop Search la Outlook
||
我想扩展Windows桌面搜索以包括来自我的自定义数据存储的结果(例如Outlook的工作方式)。意思是,当有人在Vista或Windows 7的“开始”菜单中进行搜索时,我希望我的结果显示在“我的自定义类别”中,其中每个结果都是我的自定义数据存储中的一个单独条目。
我已经阅读了很多MSDN文档,感觉它们还不完整。我还在Windows 7 SDK和Windows Search 3x SDK中处理了许多示例。我希望Windows Search SDK中的RegSearch示例(这是一个示例协议处理程序实现)会很有用,但是,它似乎不起作用。我可以构建它并进行注册,但是搜索服务返回以下错误(从事件查看器中):
Log Name: Application
Source: Microsoft-Windows-Search
Event ID: 3036
Task Category: Gatherer
Level: Warning
Description:
The content source <reg://<USER SID REMOVED>/> cannot be accessed.
Context: Application, SystemIndex Catalog
Details:
The specified address was excluded from the index. The site path rules may have to be modified to include this address. (HRESULT : 0x80040d07) (0x80040d07)
(注意:我在发布时删除了SID,但日志中包含了它)
其次是:
Log Name: Application
Source: Microsoft-Windows-Search
Event ID: 3023
Task Category: Gatherer
Level: Warning
Description:
The update cannot be started because all of the content sources were excluded by site path rules, or removed from the index configuration.
Context: Application, SystemIndex Catalog
Details:
(HRESULT : 0x1) (0x00000001)
然后:
Log Name: Application
Source: Microsoft-Windows-Search
Event ID: 3083
Task Category: Gatherer
Level: Error
Description:
The protocol handler File cannot be loaded. Error description: (HRESULT : 0x800700c1).
最后,重复第一个错误。
有人让这个示例起作用了吗?协议处理程序是我要完成的正确方法吗?
任何帮助将不胜感激!
没有找到相关结果
已邀请:
1 个回复
犀耽澄协吻