如何使用Windows Search Service代替旧的索引服务来索引文件?
过去,我在 Windows Server 2003 上安装了索引服务,并用它为我的网站索引文件。 我通过使用查询和连接字符串执行 OleDbCommand 来完成此操作。
如何使用 VB.NET 通过新的“Windows 搜索服务”(Windows Server 2008) 完成同样的事情? 这是否以同样的方式工作,以便我只需要更改到目前为止一直是“MSIDXS.1”的提供程序名称? 情况属实,新的提供商名称是什么?
提前致谢! :)
In the past I had the indexing service installed on a Windows Server 2003 and used it to index files for my website. I did this by executing an OleDbCommand with a query and a connection string.
How do I accomplish the same thing with the new "Windows Search Service" (Windows Server 2008) by using VB.NET? Does this work the same way so that I only need to change the Provider name which has been "MSIDXS.1" up to now? Case true, what is the new Provider name?
Thanks in advance! :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在这里找到了一些不错的(认为阅读起来通常很有趣/讽刺)MSDN信息:MSDN Windows 搜索 API。 您也可以尝试该 SDK,它似乎包含一些示例以及如何为 WinSearch 3 进行编码的内容 Windows 搜索 SDK
I found some decent (thought typically fun to read /sarcasm) MSDN information here: MSDN Windows Search API. You also may try the SDK out, it seems to have some samples and whatnot included on how to code for WinSearch 3 Windows Search SDK