A quick guide to CoreResultsWebPart configuration changes in SharePoint 2010

Posted Monday, April 5, 2010 4:38 PM by CoreyRoth

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

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

# re: A quick guide to CoreResultsWebPart configuration changes in SharePoint 2010

Friday, August 20, 2010 9:47 PM by Ram

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

# re: A quick guide to CoreResultsWebPart configuration changes in SharePoint 2010

Monday, August 23, 2010 8:34 AM by CoreyRoth

@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

# re: A quick guide to CoreResultsWebPart configuration changes in SharePoint 2010

Thursday, September 23, 2010 8:29 AM by Nathasha

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

this property comes when we inheriting the CoreResults web part ?

# re: A quick guide to CoreResultsWebPart configuration changes in SharePoint 2010

Thursday, September 30, 2010 7:59 AM by Nick

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>

# re: A quick guide to CoreResultsWebPart configuration changes in SharePoint 2010

Wednesday, October 12, 2011 9:52 AM by Oldwizard46

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?

# re: A quick guide to CoreResultsWebPart configuration changes in SharePoint 2010

Monday, October 17, 2011 9:44 PM by CoreyRoth

@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

# re: A quick guide to CoreResultsWebPart configuration changes in SharePoint 2010

Friday, November 18, 2011 1:15 PM by devolution

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.

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

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

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

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

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

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

# re: A quick guide to CoreResultsWebPart configuration changes in SharePoint 2010

Monday, February 18, 2013 11:00 PM by Ananth

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

# re: A quick guide to CoreResultsWebPart configuration changes in SharePoint 2010

Thursday, April 11, 2013 10:21 PM by CoreyRoth

@Anarath just use the best bets web part instead.

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

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

# List aggregation Web Part using Search Driven Search Results | SharePoint interests

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

# ???????? &raquo; Search Results Web Part Sharepoint 2010

Tuesday, June 2, 2015 11:33 AM by ???????? » Search Results Web Part Sharepoint 2010

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

# ???????? &raquo; Search Results Web Part

Tuesday, June 2, 2015 11:45 AM by ???????? » Search Results Web Part

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

Leave a Comment

(required) 
(required) 
(optional)
(required)