Excel文档显示在SharePoint 2013搜索中的所有库中 [英] Excel Document showing from All libraries in SharePoint 2013 Search

查看:67
本文介绍了Excel文档显示在SharePoint 2013搜索中的所有库中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我们在搜索中心进行高级搜索时,Excel类型文档结果来自所有库,这是不期望的。 期望它只能来自特定的库。

Excel type documents results are coming from all the library when we do an advanced search in the search center, which is not expected.  the expectation is that it should result only from a particular library.

知道什么配置有问题,问题出在哪里?

Any idea what configuration is wrong, where is the problem?

谢谢,Ram Ch

推荐答案

Hi,

您可以使用两种方法。

方法1:

对于SharePoint 2013,您需要创建结果源并配置查询以仅搜索特定库并配置搜索结果WebPart以使用结果源。

For SharePoint 2013 you need to create a Results Source and configure query to search in particular library only and configure your Search Results WebPart to use your Results Source.

有关详细信息,请参阅以下文章:

https://social.technet.microsoft.com/wiki/contents/articles/25783.sharepoint-2013-working-with-res ult-sources-to-limit-search-results.aspx

For more information, you can refer to below article: https://social.technet.microsoft.com/wiki/contents/articles/25783.sharepoint-2013-working-with-result-sources-to-limit-search-results.aspx

方法2:

编辑搜索结果Web部件并在查询中添加"Path"属性。然后它只返回指定路径的结果。

Edit your search result web part and add "Path" property in your query. Then it will only return results from the specified path.

您可以参考以下格式:

{?{SearchBoxQuery} path:"http://siteURL.com/DocumentLibrary1/" }


对于多个地点,只需使用空格分隔符添加它们:

For multiple locations, simply add them with a space delimiter:

{?{SearchBoxQuery} path:"http://siteURL.com/DocumentLibrary1/" path:"http://siteURL/DocumentLibrary2/" path:"http://siteURL/DocumentLibrary3/"}





最好的问候,

Allen Bai

Allen Bai


这篇关于Excel文档显示在SharePoint 2013搜索中的所有库中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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