无法更新全局搜索中心网址 [英] unable to update Global search Center URL

查看:73
本文介绍了无法更新全局搜索中心网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经成功配置了搜索应用程序.但是目前,无论何时我搜索任何内容,搜索网址都不会作为全局搜索网址出现.

我已经使用Enterprise搜索模板创建了新的网站集,并将该网站集指定为全局搜索URL.

我正在powershell命令下面运行以更新URL.

$ ssa = Get-SPEnterpriseSearchServiceApplication搜索服务应用程序"
$ ssa.SearchCenterUrl =" http://xxxx.com/SearchCentre/Pages"
$ ssa.Update() 

此命令已成功执行,但是搜索时URL仍未更改.我可以看到URL已由中央管理员更新到搜索中.

我在全局url更改后进行了IISRESET和Index重置,但是没有运气.

对此的任何指导都会有所帮助.

谢谢

解决方案

此PowerShell命令用于更新全局搜索中心URL.

默认情况下,站点搜索中心URL继承自全局搜索中心URL.但是,如果您输入了网站集的搜索中心URL,则此设置将被覆盖 全局搜索中心网址.全局搜索中心URL的更改不会影响网站集的搜索中心URL.

查看以下博客以了解更多信息:

此处是有关如何使用PowerShell为网站集设置搜索中心URL的演示,供您参考. :

最好的问候,

Linda Zhang


Hi,

I have configured a search application successfully. However currently whenever I search anything the search url is not coming as global search url.

I have created new site collection with Enterprise search template and given this site collection as global search URL.

I am running below powershell commands to update the url.

$ssa = Get-SPEnterpriseSearchServiceApplication "Search Service Application"
$ssa.SearchCenterUrl = "http://xxxx.com/SearchCentre/Pages"
$ssa.Update() 

this command gets executed successfully, however still the url is not getting change while searching. I can see the URL got updated into the search from central administrator.

I did IISRESET and Index reset post global url change, but no luck.

any guidance on this will be helpful.

Thanks

解决方案

Hi GaneshPat,

This PowerShell command is used to update the Global Search Center URL.

By default, the site Search Center URL is inheriting from the Global Search Center URL. But if you have entered a Search Center URL for the site collection, this setting will override the Global Search Center URL. The change of the Global Search Center URL will not affect the Search Center URL for the site collection.

Check the following blog for more information:

https://en.share-gate.com/blog/sharepoint-2013-search-settings-and-search-box-drop-down-menu

Here is a demo about how to set the Search Center URL for site collections using PowerShell for your reference:

http://stevemannspath.blogspot.sg/2013/07/sharepoint-2013-search-setting-all.html

Best Regards,

Linda Zhang


这篇关于无法更新全局搜索中心网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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