.Net 和 Windows 搜索(Win 2008 (x86) 服务器)
我们已经从安装了 IIS5 的 Windows 2003 计算机迁移了我们的网站之一。网站内搜索还使用索引服务在目录“index_pdf”中进行搜索。该目录索引了服务器上的一个文件夹,并使用 Adobe iFilter 6.0 来搜索 pdf 文件。迁移时,我们切换到另一个操作系统 -> Windows 2008 (x86)。我们在这台机器上安装了,但现在无法搜索 .pdf 文档。我们在不同的服务器上使用不同版本的 PDF iFilter 测试了该网站,但不幸的是没有任何结果。即使在具有 64 位版本 Adobe PDF iFilter 的 Windows 2008 (x64) 服务器上,我们也无法搜索 .pdf 文件。
我们的发现:
- 经典的索引服务与经典的 ASP 作品相结合。 (对 pdf 的过滤尚未经过测试)
- 分类索引服务与 ASP.NET 结合使用不起作用。
- 在 Windows 2008 服务器上,我们必须使用 Windows 搜索,因为 IIS7.x 以不同的方式与索引服务进行通信。
现在我们必须找到一种方法来重写现有的 VB.NET 代码,使其能够与我们尚不了解的新索引服务一起工作。 我的问题是如何解决这个问题。有没有什么例子可以帮助我们走向正确的方向?
We have migrated one of our websites from a windows 2003 machine with IIS5 installed. Search within the website also used an indexing service to search within a Catalog "index_pdf". The catalog indexed a folder on the server and Adobe iFilter 6.0 was used to be able to search through the pdf files. While migrating, we switched to another OS -> Windows 2008 (x86). On this machine we installed but now searching through .pdf documents doesn't work. We tested the website on a different server with different versions of PDF iFilters but unfortunatly without any result. Even on a Windows 2008 (x64) server with the 64 bit version of Adobe PDF iFilter we couldn't search through .pdf files.
Our findings:
- The classic Indexing Service in combination with classic ASP works. (filtering on pdf hasn't been tested)
- The classing Indexing Service in combination with ASP.NET doesn't work.
- On windows 2008 servers we have to use Windows Search, because IIS7.x communicates on a different way with the Indexing Service.
Now we have to find a way to rewrite our excisting VB.NET code to a way in which it wil work with the new Indexing Service which we don't know to well yet.
My question is how to approach this. Are there any examples out there that might help us head to the right direction?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有关如何使用 Windows Search API(来自 ASP.NET/IIS 等)的一些资源:
另一种选择是完全使用不同的索引器 - 例如 Lucene/Solr(也可以从 .NET 使用)...
Some resources on how to use Windows Search API (from ASP.NET/IIS etc.):
Another option is to use a different Indexer altogether - like Lucene/Solr (it can used from .NET too)...