SharePoint 2010 搜索 - 搜索请求无法连接到搜索服务
我正在使用 SharePoint 2010 Foundation,但在那里进行搜索时遇到问题。每次我搜索某些内容时,都会收到搜索请求无法连接到搜索服务的响应。
我花了很多时间查看此问题,但似乎看不出是什么导致了问题。 SharePoint Foundation 搜索服务已启动,但服务器上没有列出除“帮助搜索”之外的搜索服务。
另外,如果我在“管理数据库升级状态”下查看我的内容数据库,它会告诉我数据库太旧了...
任何人都可以为我指明如何解决这些问题的正确方向,因为它让我发疯!!
非常感谢提前... 卢克
I am using SharePoint 2010 Foundation and I have a prolem with the search on there. Everytime I search for something I get the response of The search request was unable to connect to the Search Service.
I have spent alot of time looking at this and I cannot seem to see what is causing the issue. The SharePoint Foundation Search service is started but there are no services listed on the server for search other than the 'Help Search'.
Also, if I look into my content databases under the 'Manage Database Upgrade Status' it telling me that the database is too old...
Could anyone point me in the right direction as to how to resolve these issues as it is sending me mad!!
Many Thanks in advance...
Luke
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在 SharePoint 2010 Management Shell 中执行此命令(以管理员身份运行)
它将启动标准 SharePoint 产品更新并升级所有处于“版本不匹配,建议升级”或“旧的,需要升级”状态的数据库。该工具在命令行中运行,并为您提供有关安装进度的更新,如下所示。
Execute this command in SharePoint 2010 Management Shell (run as administrator)
It will initiate standard SharePoint Products update and upgrade all databases which are in either "version mismatchm, upgrade is recommended" or "old, upgrade is required" status. The tool runs in command line and gives your updates about installation progress, like this.
经过进一步研究后,我发现这是一个简单的情况,需要升级我的一些数据库(搜索数据库就是其中之一)。
要查看需要升级的数据库,我使用了 Powershell 命令:
Get-SPDatabase | ?{$_.NeedsUpgrade -eq $true} |选择名称
和
Get-SPContentDatabase | ?{$_.NeedsUpgrade -eq $true} | Upgrade-SPContentDatabase
这使我能够识别需要此功能的所有数据库(与在中央管理中使用运行状况分析器几乎相同)。然后,我通过 powershell 命令窗口运行以下 PSCONFIG 命令来执行升级:
psconfig -cmd update -inplace -b2b -force -wait
最后,我运行了产品和技术向导,一切正常(包括搜索)。
After some further research into this I found it was a simple case of needing to upgrade some of my databases (the search database being one of them).
To view the databases that needed upgrading I used the Powershell Commands:
Get-SPDatabase | ?{$_.NeedsUpgrade -eq $true} | Select Name
AND
Get-SPContentDatabase | ?{$_.NeedsUpgrade -eq $true} | Upgrade-SPContentDatabase
This allowed me to identify all databases that needed this (pretty much the same as using the Health Analyzer in Central Admin). I then ran the following PSCONFIG command through the powershell command windows to perform the upgrade:
psconfig -cmd upgrade -inplace -b2b -force -wait
Finally I ran the Products and Technologies wizard and all worked fine (including the search).
这是我的经验:
每次全新安装 SharePoint 2010 时,搜索服务都会正常运行。当 2008 服务器运行自动更新并找到 SharePoint 的一些更新补丁并自动加载时,SharePoint 搜索随后将失败,并显示消息“搜索请求无法连接到搜索服务”。
看起来自动加载的 SharePoint 补丁会推断搜索服务,但不会以干净的方式完成工作。
我首先使用了“psconfig -cmd update”命令,但搜索一开始不起作用。
然后,我去中央管理->系统设置->管理服务器上的服务,停止“SharePoint Foundation Search”服务,这将删除所有搜索索引。再次启动。之后,搜索再次进行。
This is my experience:
For every time a fresh new install SharePoint 2010, the search service is good and working. When the 2008 server runs the auto update and found some update patches for SharePoint and get loaded automatically, then the SharePoint search will failed afterward with the message "The search request was unable to connect to the Search Service".
It looks like the auto loaded SharePoint patches will so something inference the search service but not do the work in a clean way.
I have used the "psconfig -cmd upgrade" command first but search is not work at first.
Then, I go to Central Administration -> System Settings -> Manage services on server, stop the "SharePoint Foundation Search" service, this will remove all search index. Start it up again. Afterward, the search works again.