MOSS 2007: add additional managed properties to hithighlighted search results

Hi,

I am currently dealing with an older MOSS 2007 system. I want to add custom properties as hithighlighted search results. When I retrieve the raw xml of my search result it looks like this:

<hithighlightedproperties>
        <HHTitle>Letter.dot</HHTitle>
        <HHUrl>http://w2k34/TEST2/1CG/Documents/Letter.dot</HHUrl>
</hithighlightedproperties>

I have added an additional column into the selected columns and I got it added to the results aswell, but not hithighlighted. Is there a way in MOSS 2007 to add custom properties to the highlightedproperties section?

Thanks

Sven

July 17th, 2013 4:27pm

Hi,

Thank you for your question. I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience. Thank you for your understanding and support.

Thanks,

Entan Ming

TechNet Subscriber Support in forum

If you have any feedback on our support, please contacttnmff@microsoft.com.

Free Windows Admin Tool Kit Click here and download it now
July 18th, 2013 3:03am

Hi Sven,

from the code that you submit, have you tried to add this tag <c0>..</c0> ?

perhaps you can try to add the tags,  

here is the example that similar to your post: 

http://www.novolocus.com/2008/05/19/hit-highlighting-in-sharepoint-search-document-titles/

http://zimmergren.net/technical/moss-2007-customizing-the-search-results-page-xslt-part-2-add-highlighting

July 18th, 2013 4:23am

Hi Aries,

yesterday I browsed through the links you provided already, but that is not what I wanted. My objective was to have the hits in my managedproperty to be highlighted.

the question was if I can add additional properties to <hithighlightedproperties>. As far as I understand only those properties HAVE highlighting, right?

Sven

Free Windows Admin Tool Kit Click here and download it now
July 18th, 2013 5:26am

Hi Sven,

hithighlight properties is part of HTML style actually, perhaps if you have the time to try, you may add that tag on your text.

if you able to have the text, then you may have it as highlighted style.

here is some examples that perhaps may help you

http://avinashkt.blogspot.in/2007/06/change-search-results-display-in.html

http://chris.gg/2011/06/display-filename-instead-of-document-title-in-sharepoint-search/

for your question, add additional properties to the <hithighlightedproperties>, can i have more details about the properties that you want to add?

July 18th, 2013 5:36am

Hi Aries,

hithighlighting is not part of HTML. Defining colours is part of HTML/XSLT Transformation, but it is all based in the XML result returned from the SP Search.

In my case I have added a custom managed property to the SELECTED COLUMNS. I used this explanation to display the raw XML result.

http://msdn.microsoft.com/en-us/library/ms546985(v=office.14).aspx

I figured out that my property is part of the search result, but not inside the <hithighlightedproperties> section. As I understand ONLY the properties inside this section include highlighting. When I search for something, it should be hithighlighted. This is why I asked how I could add hithighlighting to a custom property. I did not ask about modifying the colour coding.

This post describes about doing this for SP2010.

http://social.technet.microsoft.com/Forums/sharepoint/en-US/4fc90c97-0129-4554-859c-c5ab3db19a8f/search-highlighting-on-custom-properties-for-sharepoint-2010

In the FETCHED COLUMNS section there it is sufficient to add the hithighlight = "true" attribute, but this does not work for MOSS 2007.

<Column Name="MattersMatterName" HitHighLight="true" />

I found a similae post here, but without any solution.

http://social.technet.microsoft.com/Forums/sharepoint/en-US/99566530-287f-46b8-976a-81ea8977ac68/adding-hithighlight-hit-highlight-to-custom-property-sharepoint-2007

I hope I was clear this time. Does anyone know how to add hithighlighting to a custom managed property?

Thanks

Sven

Free Windows Admin Tool Kit Click here and download it now
July 18th, 2013 8:46am

Hi Sven,

thank you for the correction,

you are correct that hithighlight feature can only be inside the hithighlite properties,

for your environment, i searched and tried a little on this blog: http://blogs.msdn.com/b/arbindo/archive/2008/04/04/customizing-sharepoint-2007-search-result-for-structured-content.aspx

seems quite promising, but not sure if this is able to solve your issue or not.

the idea is to put your column to the managed property column by map them in, so when it read your mapped column the highlight may appear, but you need to try, as my column is fixed one, not having dynamic value.

if should you have more complex situation than this, i may advise you to open a advisory case, so we can help you customize with the possible way to help on your needs.

July 18th, 2013 9:56pm

Hi Aries,

I think I have described in detail what my objective is: add hithighlighting to a custom managed property. The link you provided is about structuring search results. My objective is different.

Sorry, that does not solve the issue.

Sven

Free Windows Admin Tool Kit Click here and download it now
July 19th, 2013 5:31am

Hi Sven,

very sorry to hear that, but that is the last steps that i can think of at this moment, as i encourage you to try, because sharepoint 2007 may different in terms with 2010, so perhaps the result may similar.

as the issue quite unique, i strongly suggest for you to open an advisory case to us, so we are able to give you more support regarding this issue.

July 19th, 2013 6:49am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics