【问题标题】:Microsoft Search Service: Is there an OLE DB provider? (alternate: Index Server on Win2012?)Microsoft 搜索服务:是否有 OLE DB 提供程序? (替代:Win2012 上的索引服务器?)
【发布时间】:2016-08-08 16:00:07
【问题描述】:

(根据我的研究,Win2012 上不再存在 Index Server -- 如果这是错误的,请告诉我如何设置它!)

将一个不错的 .asp 应用程序从 Win2003 服务器移动到 Win2012。此应用通过索引服务器的 OLE DB 驱动程序大量使用索引服务器。

我们如何使用它的示例:

StrSQL="SELECT size, doctitle, vpath, filename, size, write, " & _
       "characterization, path, rank FROM SCOPE() " & _
       "WHERE CONTAINS('"searching words"') " & _
       "AND vPath LIKE '%Knowledgestore%'"  " & _
       "AND (filename like '%TXT')" & _
       "ORDER BY rank DESC"


Set ixQuery = Server.CreateObject("ADODB.Connection")
Set QueryRS = Server.CreateObject("ADODB.RecordSet")

ixQuery.Open "provider=msidxs;Data Source=knowledgestore"
QueryRS.Open strSQL,ixQuery

如何针对 Microsoft 搜索服务执行此操作?

  • 是否有用于搜索服务的 OLE DB 提供程序?
  • 如果不是,从 VBA/ASP/Python 访问搜索服务的正确方法是什么?

【问题讨论】:

    标签: microsoft-search-server search-server-2010


    【解决方案1】:

    使用Provider=Search.CollatorDSO;Extended Properties='Application=Windows'; 作为连接字符串。

    【讨论】:

    • 您如何处理“'Search.Collat​​orDSO' 提供程序未在本地计算机上注册。”如此处发布的异常所示:pastebin.com/sEVSRSit
    【解决方案2】:

    经过大量的挖掘,找到了答案。

    下载和安装 Windows Search Server 不会安装 OLE DB 提供程序。安装 Windows SDK 也不行。提供程序在安装 Windows 搜索服务时安装。

    在 Win7/8 桌面操作系统上,这是默认安装的(我相信)。在服务器上,您必须启用该功能。

    【讨论】:

    • Microsoft OLE DB Provider for Microsoft Indexing Service 是 MSIDXS 。 Windows Search Server 是同一个 Microsoft 索引服务吗?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多