IT 专业人士的资源 > 论坛主页 > 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日 19: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日 8: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.