Skip to Content

Highlighted search term


I have integrated a 3rd party search in the Portal using this">this>. The problem is that the search term is not highlighted in the search result list for results coming from 3rd party. Whereas if the result is coming from TREX the search term is highlighted.

All I could find was that TREX takes care of highlighting the search term and then this gets displayed. See the Keep" target="_blank">">Keep Content parameter in this docu.

I guess this parameter is available only for indexes using the Trex Search Service and since my index uses my custom Search Service, I do not see this parameter in the config.

I want the search term to be highlighted in the 3rd party search result also?

Has anybody faced a similar problem and is there a way to achieve this?

Many Thanks,


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Aug 31, 2006 at 12:58 PM

    Hi Akhilesh,

    are you looking for:

    1) highlighting in the content snippets (abstracts)?

    2) highlighting in the HTML rendered document?

    ad 1): Does the 3rd party earch return an abstract at all?

    ad 2): This, I assume, you will only be able to achieve, if the 3rd party engine provides an HTML-version of the indexed docs and offers a URL, where you can retrieve that HTML with the additional highlighting information. You'd have to give that back as the "content link" to the KM search results page or render it as an additional link under the property "link" (the latter just may display the full-size URL, though).

    If that will not do it, you will have to write at least an own property renderer or an own search result list renderer - both of course only helps, if an HTML is available at the 3rd party.

    If the 3rd party does not have that service, well...

    Cheers, Karsten

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Akhilesh Mahto


      I have developed and integrate a custom 3rd party engine.

      But this is not return an abstract fo results.

      I always have: "No document excerpt available" .

      How have you done to return an abstract ?



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.