进行“就地搜索"仅搜索文件名 [英] Make "in-place search" search filenames only

查看:116
本文介绍了进行“就地搜索"仅搜索文件名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我认识到,仅可以通过在文件名前加上"filename:"前缀来明确地搜索文件名.并使用通配符搜索部分单词匹配,但是默认情况下是否可以将其配置为仅搜索文件名? 可以完全自定义就地搜索吗?

I realise that one can explicitly search for filenames-only by prefixing their search terms with "filename:" and using wildcards to search for partial word matches, but is it possible to do configure it to search for filenames-only by default? Is it possible to customise in-place search at all? 

我知道就地搜索使用网站的默认结果源,但是修改默认网站搜索范围并不理想,并且在我的测试中,我无法获得仅文件名搜索才能就地工作搜索似乎在处理之前修改了搜索查询 转到结果源.

I know in-place search uses the default result source for the site, but modifying the default site search scope isn't ideal, and in my testing, I couldn't get filename-only searching to work as in-place search seems to modify the search query before handing it off to the result source.

感谢您的帮助.

欢呼

Tom Wardrop

Tom Wardrop

推荐答案

汤姆,

默认情况下,SharePoint搜索执行完整的内容索引.当您搜索没有托管属性过滤器的关键字时,它将查询所有内容,而无法仅查询文件名.

By default, SharePoint search does full content index. When you search a keyword without managed property filter, it will query all content, there is no way to query file name only.

如果只想搜索文件名,则需要使用托管属性过滤器,例如"filename:xxx".

If you want to only search file name, you need to use the managed property filter, like"filename:xxx".

您对就地搜索"是什么意思?是普通网站(如团队网站)的OOB搜索(osssearchresults.aspx)吗?

What did you mean about "in-place search"? Is it OOB search(osssearchresults.aspx) of a normal site like team site?

通过设计,我们无法自定义osssearchresults.aspx页面.为此,您可以创建一个搜索中心站点并对其进行自定义,然后将团队站点搜索配置为使用搜索中心.

By design, we are unable to customize the osssearchresults.aspx page. For this requirement, you can create a search center site and customize it, then configure the team site search to use search center.

如果我误解了你的意思,请随时回复.

If I misunderstand your meaning, please feel free to reply.

谢谢

温迪


这篇关于进行“就地搜索"仅搜索文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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