首先显示基于标题的结果,然后根据搜索词显示来自文档的结果 [英] Display Title based results first and then display results from document based on search term

查看:66
本文介绍了首先显示基于标题的结果,然后根据搜索词显示来自文档的结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我的搜索结果随机显示时,

When I search results are being displayed randomly like 

如果我在测试框中进行测试搜索,则显示的结果均来自项目标题,并且如果文档中存在单词test,则会在搜索结果中显示该结果.

If I search with testing in search box results being displayed are both from title of the item and if the word testing is there in document it is displaying it in search results.

我的要求是,相关结果应首先从项目标题显示,然后再显示搜索结果中的内容.

My requirement is relevant results should be initially displayed from Title of the item and then the content in the search results needs to be displayed.

我尝试按等级排序,但是没有用,请帮帮我.

I have trying Sort by Rank but that did not work,Please help me with this.

此致

Santhosh Reddy.

Santhosh Reddy.

推荐答案

您好,Santhosh,

Hi Santhosh,

要在搜索结果的顶部显示标题匹配项,我们可以配置按排名排序",然后,如果使用OOTB标题"列,则默认情况下其排名最高.

To show Title matches on top in the search result, we could configure Sorting by Rank, then if we use OOTB Title column, it is by default having the top most rank score.

请转到管理中心->管理服务应用程序->搜索服务应用程序->搜索架构,找到映射标题栏和文档内容的标题"和内容"托管属性,然后编辑托管财产,检查 如果它们设置了适当的上下文,则在高级可搜索"设置中显示托管属性的上下文.

Please go to Central Administration->Manage service Applications->search service application->search schema, find the "Title" and "Content" managed properties which maps the title column and content of document, edit the managed property, check context of the managed property in the Advanced Searchable settings if they are set with proper context.

此外,我们还可以通过查询规则和创建自定义排名模型来影响搜索结果的排名.

Besides, we can also influence the rank of a search result by Query rules and creating a custom ranking model.

参考:

https://technet.microsoft.com/library/7c8ddec1-c8ff- 4a90-afae-387b27a653f1.aspx#

最诚挚的问候,

Grace Wang

Grace Wang


这篇关于首先显示基于标题的结果,然后根据搜索词显示来自文档的结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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