Modifying search results in a search webpart

Hi,

I have a task where I need to display first 200 characters of my search result's content. I have a custom webpart that takes care of all the search and paging.

I use HitHighlightedSummary field in my search query but it extracts only the content arround keywords and not the begining of the file (ASPX for instance).

Is it actually possible to specify what part of the document i want to display, maybe crawling configuration I have seen this feature implemented on some websites, but default search that is built into the system appears to use HitHightlightedSummary.

Any ideas, I would really appreciate any help.




Answer this question

Modifying search results in a search webpart

  • Kiwi Ranger

    Hi,

    How about displaying the description property in the xslt of the search core results webpart instead of displaying the hithighlightedsummary If the description is too long then you can cut it to show only the first 200 characters.

    Would you happen to know how the hithighlightedsummary property gets its value

    Ryds


  • nishanttheone

    It's pretty common feature that someone would like - I mean you must be able to somehow manipulate the content of the search result summary.

  • Modifying search results in a search webpart