Microsoft搜索服务:是否有OLE DB提供程序? (替代:Win2012上的索引服务器?) [英] Microsoft Search Service: Is there an OLE DB provider? (alternate: Index Server on Win2012?)

查看:70
本文介绍了Microsoft搜索服务:是否有OLE DB提供程序? (替代:Win2012上的索引服务器?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

(根据我的研究,Index Server在Win2012上不再存在-如果输入有误,请告诉我如何进行设置!)

(From my research, Index Server no longer exists on Win2012 -- If this is mistaken, tell me how to set it up!)

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

Moving a nice .asp application from Win2003 server to Win2012. This app makes heavy use of Index Server via the OLE DB driver for index server.

我们如何使用它的示例:

Example of how we use it:

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 Search Service执行此操作?

How do I do this against Microsoft Search Service?

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

推荐答案

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

After lots of digging around, the answer has been found.

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

Downloading and installing Windows Search Server does not install the OLE DB provider. Neither does installing the Windows SDK. The provider is installed when the Windows Search Service is installed.

在Win7/8桌面操作系统上,默认情况下已安装此文件(我相信).在服务器上,您必须启用该功能.

On Win7/8 desktop OS, this is installed by default (I believe). On server, you have to enable the feature.

这篇关于Microsoft搜索服务:是否有OLE DB提供程序? (替代:Win2012上的索引服务器?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆