Share via


Customizing Search Hithighlightedsummary Managed Property

Question

Wednesday, February 27, 2013 3:25 PM

Hello All,

the HitHighLightedSummary within the Enterprise Search results comes back with a lot of information which is not useful to the end user e.g. metadata and guids (as in the screenshot below):

I'm trying to "customize" this by adding the relevant crawled properties to the ExcludeFromSummary managed property but this does not seem to make a difference.

  1. Has anyone managed to get this working at all? I'm not sure if this really is the best approach as I have no idea which crawled properties are going to be used in the HitHighlightedSummary property.
  2. So my fallback question is if I were to create a new managed property for the results summary can anyone advise which crawled property could be used? I am looking for something that would map to an office document's body content e.g. the first couple of lines within a word document?

Thanks

All replies (4)

Wednesday, February 27, 2013 6:24 PM

Please refer the following post related to the issue.

http://social.technet.microsoft.com/forums/en-US/sharepointgeneralprevious/thread/6f155001-c149-4a6b-8309-2b5657729c71


Thursday, February 28, 2013 5:46 AM

Hi bodgkin,

If you take a look at the definition of this property in your search service application: http://[central admin url]/_admin/search/listmanagedproperties.aspx,

you will notice that hithighlightedsummary doesn`t have any of the crawled properties defined explicitly. In fact, this property is a dynamic summary that has a collection of highlighted word pieces that best describe the result and give user the text around the keywords they were searching.

This means that no matter how much you customize your XSL – you will still receive some parts of the metadata as part of the hithighlightedsummary. So you may create your new custom summary field.

For more information, see

http://www.sharemuch.com/2010/03/08/removing-metadata-from-sharepoint-2010-search-results/

Best Regards.

Kelly Chen
TechNet Community Support


Thursday, February 28, 2013 6:19 AM

Hi,

You have to go to Central Admin Site & then manage metadata property.

Then go to "HitHighLightedSummary" and select "Include values for this property in the search index".

Manoj | SharePoint


Thursday, February 28, 2013 4:37 PM

Hi Kelly,

Thanks for this and it is the approach I'm looking to take. I was going to base my custom summary on the blog you provided.

I believe FAST Search already has an out of the box "body" managed property.

I am looking to do something similar so I'm looking for a suitable crawled property to map to my custom summary managed.

Can anyone give me pointers as to which crawled property will return the body contents of a document e.g. the first line within the document?

I've looked at the Office category and Basic category but can't find anything.