简体   繁体   English

共享点:按字段限制搜索结果

[英]Sharepoint: Limit search results by field

I have setup a search scope for the current members of a website (a "Phone book" type of search). 我已经为网站的当前成员设置了搜索范围(一种“电话簿”类型的搜索)。 It is setup to automatically suggest limiting search results by people's jobtitles, adding something like "jobtitle:Manager" to the search query. 它被设置为自动建议根据人们的职称限制搜索结果,并在搜索查询中添加“ jobtitle:Manager”之类的内容。

For single words ("Manager", "Supervisor", etc.) this works fine, but as soon as the title contains more than one word ("Managing Supervisor"), it returns zero search results. 对于单个单词(“经理”,“主管”等),它可以正常工作,但是一旦标题包含多个单词(“管理主管”),则返回零搜索结果。 My gut feeling is that it's because when the url is entered as jobtitle:Managing Supervisor , it limits results by jobtitle = Managing, and then Supervisor simply becomes a generic search term. 我的直觉是,因为当将URL作为jobtitle:Managing Supervisor输入时,它通过jobtitle = Managing来限制结果,然后Supervisor变成了通用搜索词。

I tried testing with manually added quotation marks, jobtitle:"Supervising Manager" , but they are removed when I land on the search page and the effects are the same. 我尝试使用手动添加的引号(工作名称jobtitle:"Supervising Manager" ,但是当我进入搜索页面并且效果相同时,它们将被删除。

Is there any way to allow limiting of search results by fields with multiple words? 有什么方法可以通过多个单词的字段来限制搜索结果?

This is running SharePoint 2007. 这正在运行SharePoint 2007。

您是否尝试在单词之间添加+

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM