Skip to Content
Former Member
Jan 14, 2008 at 04:12 PM

How to change search result list entries?


Hi together,

I'd like to fit the TREX search result list to my own requirements. I've edit the Search Result Renderer Settings, Search Result Layout Set, Search Component Set and the Search Option Set. But that's not enough.

1.) I would like to display the relevant index name, in which the document was found.

2.) For special indexes (not for all!) I want to change the content link:

For example: if TREX is finding an xml-File in index "abc_index" I would like to change the content link from

"https://portalserver/irj/go/km/docs/folder/p76.xml" to


and from

"https://portalserver/irj/go/km/docs/folder/p76_data.xml" to


3.) I'd like to display a special part of the document as a explanatory text in the result list.

I think point 1 and 3 are possible with properties and HTML-extractors. But point 2 I'm afraid I have to create my own component.

But how to manage this? I cannot find any code snippets or tutorials or pattern to copy and develop further.

Is it possible or advised to write a WebDynpro? Are there other possibilities? I don't know how to start.

I would be pretty delighted to get any idea...

Thanks a lot