搜索结果的特定顺序 [英] Specific Order of Search Results

查看:67
本文介绍了搜索结果的特定顺序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个项目目录,当我在列表上搜索时,在获得列表视图的链接之前,我会获得每个项目的Dispform.apx.

I have a catalog of items, and when I search on the list I get the Dispform.apx for each item before I get the link to the list view.

我想进行搜索,如果可能的话,不带回Dispform.aspx项,而仅带回List视图url.并将其放在搜索结果的顶部.

I want to have the search if possible not bring back the Dispform.aspx items, but Only bring back the List view url. and have it at the top of the search results.

下面的这张图片显示了我正在谈论的搜索结果:

this picture below show what I'm talking about as far as the search results for this:

推荐答案

Hi  cowboy2066, 

Hi cowboy2066,  

您可以创建爬网规则以将DispForm.aspx从SharePoint 2013的搜索结果中排除,并从搜索结果中删除.

You can create crawl rule to exclude DispForm.aspx from search results in SharePoint 2013 remove from search results.

导航到管理中心>应用管理管理服务应用程序> 搜索服务应用程序>抓取规则

Navigate to Central Administration > Application Management > Manage service applications > Search Service Application > Crawl Rules

在路径"中输入:*://*/DispForm.aspx*,并为抓取配置"选中排除此路径中的所有项目".并选中排除复杂的URL(包含问号的URL-?)"

In the Path enter: *://*/DispForm.aspx* and for the Crawl Configuration check "Exclude all items in this path" and check "Exclude complex URLs (URLs that contain question marks - ?)"

然后,您将需要对内容进行爬网,以删除与该路径匹配的所有URL.

You will then need to do a crawl of your content to remove any URLs that match this path.

参考:

http://sadomovalex.blogspot.sg/2013/08/exclude-allitemsaspx -from-search.html

最好的问候

Lisa Chen

Lisa Chen


这篇关于搜索结果的特定顺序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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