SharePoint Search之(四)Promoted Results—让搜索结果置顶

来源:互联网 发布:卵巢癌的早期b超数据 编辑:程序博客网 时间:2024/05/21 09:20

当使用搜索引擎的时候,用户希望匹配的结果能够在第一条显示。

 

在SharePoint2013里也提供了类似的功能Promoted Results。这个功能在SharePoint 2010里叫best bets,在SharePoint 2013里变了名称,但是功能并没有什么改变。


在SharePoint 2013 里,要设置Promoted Results, 根据你的权限,可以在不同的地方设置。

如果是Search Services Application的管理员,可以在CentralAdministration中,找到Search Service Application,管理页面,点击Query Rules.

另外两个级分别是在Site Collection Settings->Site Query Rules 和 SiteActions->Query Rules.

 

在不同的级别设置,作用域也不一样。比如在site 级别设置的Promoted Results, 在其他Site Collection以及本site collection的其他site是看不见的。但是在Search Service Application设置的,会在所有关联了这个SearchServices Application的Web Applications中有效。

 

点击Query Rules, 输入Rule Name,在Context部分,输入匹配的关键字,如果有多个,用分号分隔。


站在Actions部分,点击Add Promoted Results。在弹出页面输入目标地址的信息。如果选中Render the URL as a banner instead of as a hyperlink,那么在显示结果的时候,SharePoint会把目标结果的网页显示出来。

 

信息填好之后,点击保存,在父页面点击保存。

 

这时候再搜索,就会把刚才设置的URL放在第一位显示了。

 

Question:如果分别在Search ServiceApplication级别,Site collection级别,Site级别都设置Promoted Results 会是什么效果呢?

Answer: 效果会叠加。比如在Site级别搜索,SearchService Application级别,Site collection级别符合条件的Promoted Result 都会置顶显示。

0 0
原创粉丝点击