MSDN > 論壇首頁 > SharePoint - Search > MOSS 2007 Search - Irrelevant Words is show is search summary (from Master Page)
發問發問
 

問題MOSS 2007 Search - Irrelevant Words is show is search summary (from Master Page)

  • 2008年5月12日 下午 07:59anderskj1 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    Hi

     

    We have a master page which contains some basic elements such as a close button with some standard text like "Close Window", a text in front of the search box called "Search" and so on.

     

    Now we are performing the search via the MOSS Search.asmx web service and showing the result via the field "HitHighlightedSummary" on the custom search summary.

     

    The problem is that this HitHighlightedSummary in about 30% of the time is showin the search summary like this:

    1. "Close Window...Search....Here goes some relevant text sometimes".

    2. "Close Window...Search....Here goes some relevant text sometimes".

    3. "Close Window...Search....Here goes some relevant text sometimes".

     

    This is of course completly irrelevant for the user to see. I can see why it is doing this since it just index the html returned when the "whole" publishing page is shown for the indexer.

     

    But how do I avoid this behaviour? Ideally the indexer should only index the meta data of the Publishing pages and not the whole HTML content. But when search the actual aspx page should of course be available.

     

    Regards

    Anders

所有回覆

  • 2009年7月3日 上午 08:11stevemagid 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    I've had similar problems. what I have done is a workaround. in the searchresults xslt I add a condition to whether it should show the xslt. my problem is it was showing the link to the page layout. I said that if not(contains(hithighlightedsummary,'_catalogs')) then show hithighlightedsummary. but i was able to identify some text that was common in the problems (_catalogs is in all the layouts).

    Do a search on your servername as well. see if any reults pull through the servername and useraccount listed as contact. i had to exclude this as per above as well.