人们在 SharePoint 中使用部分名称进行搜索
我的雇主正在将他们的内部门户切换到 SharePoint。以前的门户网站最常用的功能之一是允许部分姓名的“人员搜索”。 SharePoint 2007 默认使用关键字搜索,仅与作为搜索项给出的确切单词进行匹配。它可以进行全文搜索,但您必须提供属性名称,例如“FirstName:tom”(当然不带引号)。这适用于编程解决方案,但不适用于最终用户。
SharePoint 2007 中有没有办法让用户使用部分姓名搜索人员?
My employer is switching their internal portal over to SharePoint. One of the highly used features of the previous portal was a 'people search' that allowed partial names. SharePoint 2007 defaults to keyword searches which only match against the exact word(s) given as search terms. It can do full-text searches but you have to provide the property name, e.g. "FirstName:tom" (without the quotes of course). That works for a programmatic solution but not for end users.
Is there a way in SharePoint 2007 to let users search for people using partial names?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我发现这个解决方案对我们来说足够有效。
将 ContentEditor Web 部件添加到目标页面并转到 HTML 编辑器按钮。添加以下 HTML 代码。它创建两个输入字段(名字/姓氏),然后创建一个查询,其中包含作为属性搜索的搜索词,这将调用全文搜索。
注意:您需要将搜索结果页面替换为适合您的配置的位置。
I found this solution that works well enough for us.
Add a ContentEditor web part to the target page and go to the HTML editor button. Add the following HTML code. It creates two input fields (firstname/lastname) and then creates a query with the search terms included as property searches which will invoke the full-text search.
Note: you need to replace the search result page with the appropriate location for your configuration.