in

Dot Net Mafia

Group site for developer blogs dealing with (usually) .NET, SharePoint 2013, SharePoint 2010, Office 365, SharePoint Online, and other Microsoft products, as well as some discussion of general programming related concepts.

This Blog

Syndication

Archives

Corey Roth [MVP]

A SharePoint MVP bringing you the latest time saving tips for SharePoint 2013, Office 365 / SharePoint Online and Visual Studio 2013.

A quick guide to CoreResultsWebPart configuration changes in SharePoint 2010

Lots of things have changed in Enterprise Search and the CoreResultsWebPart is no exception.  Of course, I’ve already mentioned that you can override certain methods now to affect how queries execute.  A number of options have moved around and a few new ones have shown up.  If you remember MOSS 2007, the properties looked something like this.

EnterpriseSearch2007Properties

Most of the options you have used before are still there, it’s just a matter of finding them.  The groups are now Location Properties, Display Properties, Results Query Options, and More Results Link Options.

EnterpriseSearchCRWPProperties1

The first thing to note is the Location Properties.  If you ever took a look at Federated Search, this might look familiar to you.  All web parts now use the Location to get default values.  This allows the CRWP to display local search results, people, FAST, or federated locations as well.  Take a look at the options.

EnterpriseSearchCRWPLocations

Ok, yours probably won’t have the DotNetMafia.com Search Results.  I added that for my demo on Enterprise Search I gave last week.  Also note that the Scope property has been moved here instead of being buried under Miscellaneous.

Staying with the Location theme here, let’s take a look inside Display Properties.

EnterpriseSearchCRWPProperties2

Notice that the Fetched Properties and XSL Editor are grayed out?  This is because the Use Location Visualization checkbox is set.  This tells the CRWP to use the columns and XSL defined at the federated location level.  If you we go to the Search Service Application and look at the Local Search Results Federated Location, we will see that they added a new section for the CRWP.

EnterpriseSearchFederatedLocationCRWP

What’s cool about this is that you can define a consistent look and feel for search results for all search centers on your farm.  Of course, if you don’t want to use the location’s defined visualization, you can uncheck the Use Location Visualization checkbox in the CRWP and define your own.

Let’s take a look at some of the other options.  Under Display Properties, you can also set the sort order (sorry only Relevance and Modified Date are still supported unless you use FAST).  There are also new options to limit the number of characters in the URL as well as in the summary.

The last section to mention is Results Query Options.  A new dropdown is available to override the Query Language.  The Cross-Web Part query ID has been moved here.  You can also still specify the Fixed Keyword Query here and you can make use of the Append Text To Query option that I have mentioned in a previous post.  Remove Duplicates, Search Stemming, and Ignore Noise Words all got moved here as well.

CoreResultsWebPartAppendQuery

This only configures the configuration changes of course.  The Web Part itself underwent a ton of changes to make it support overrides, FAST Search, Wildcards, and more.

Comments

 

Twitter Trackbacks for A quick guide to CoreResultsWebPart configuration changes in SharePoint 2010 - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com said:

Pingback from  Twitter Trackbacks for                 A quick guide to CoreResultsWebPart configuration changes in SharePoint 2010 - Corey Roth - DotNetMafia.com - Tip of the Day         [dotnetmafia.com]        on Topsy.com

April 5, 2010 5:02 PM
 

Ram said:

Hi,

I am looking at configuring the CoreSearch results web part for each content type (e.g. People Search, Events Search, News Search, Library Documents Search, Location Search). Apart from this, i would also like to configure the Refinement Panel of Enterprise Search 2010 for each of the above content type. Can you please let me know if it is possible.

regards

ram

August 20, 2010 9:47 PM
 

CoreyRoth said:

@Ram The Refinement Panel is pretty easy to configure.  Try this post and see if it helps.

www.dotnetmafia.com/.../get-to-know-the-refinement-web-part-in-sharepoint-2010-enterprise-search.aspx

August 23, 2010 8:34 AM
 

Nathasha said:

how to set "SortXML" property in CoreResults web part?

this property comes when we inheriting the CoreResults web part ?

September 23, 2010 8:29 AM
 

Nick said:

I am provisioning a CoreResultsWebPart as part of a feature. How do i configure the SearchOptions? In other words, how do I set this in my site definition / elements.xml:

<Properties>

<Property Name="LastName" ManagedName="LastName" ProfileURI="urn:schemas-microsoft-com:sharepoint:portal:profile:LastName"/>

<Property Name="FirstName" ManagedName="FirstName" ProfileURI="urn:schemas-microsoft-com:sharepoint:portal:profile:FirstName"/>

...

...

<Properties>

September 30, 2010 7:59 AM
 

Oldwizard46 said:

I need to configure my search results to show the actual file name at the top of the result.  I have read you can do this by editing the XSL but I have no idea about this.  Can you help?

October 12, 2011 9:52 AM
 

CoreyRoth said:

@Oldwizard46 This can be done by manipulating managed properties and some XSL.  See this post.  chris.gg/.../display-filename-instead-of-document-title-in-sharepoint-search

October 17, 2011 9:44 PM
 

devolution said:

the info on the chris.gg site about displaying filenames instead of document titles does not appear to work in Sharepoint 2010. i'm sure with some modification it could be made to work, but the default XSL in SP 2010 is slightly different, so using the mod as shown doesn't work. if anyone knows of a fix for this or another link that shows how to do it in 2010, it would be much appreciated.

November 18, 2011 1:15 PM
 

Building no code solution to consolidate Issues data across Farm « Jimblog said:

Pingback from  Building no code solution to consolidate Issues data across Farm &laquo; Jimblog

March 15, 2012 7:56 PM
 

How to customise search core results web part Part1 « YBBEST said:

Pingback from  How to customise search core results web part Part1 &laquo;  YBBEST

March 17, 2012 8:41 PM
 

How to customise search core results web part Part1 « YBBEST said:

Pingback from  How to customise search core results web part Part1 &laquo;  YBBEST

March 17, 2012 8:41 PM
 

Ananth said:

How to change the core results web parts for displaying the Visual best bets?

February 18, 2013 11:00 PM
 

CoreyRoth said:

@Anarath just use the best bets web part instead.

April 11, 2013 10:21 PM
 

SharePoint Core Results Web Part Changes « Tom Resing's SharePoint Blog said:

Pingback from  SharePoint Core Results Web Part Changes &laquo;  Tom Resing&#039;s SharePoint Blog

January 27, 2014 10:19 AM
 

List aggregation Web Part using Search Driven Search Results | SharePoint interests said:

Pingback from  List aggregation Web Part using Search Driven Search Results | SharePoint interests

October 27, 2014 12:18 PM
 

???????? » Search Results Web Part Sharepoint 2010 said:

Pingback from  ????????  &raquo; Search Results Web Part Sharepoint 2010

June 2, 2015 11:33 AM
 

???????? » Search Results Web Part said:

Pingback from  ????????  &raquo; Search Results Web Part

June 2, 2015 11:45 AM

Leave a Comment

(required)  
(optional)
(required)  
Add

About CoreyRoth

Corey Roth is an independent SharePoint consultant specializing in ECM, Apps, and Search.
2015 dotnetmafia.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems