Resources for IT Professionals > 포럼 홈 > 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일 월요일 오후 7: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.