DXP 7.1 Search Result customization

Gopal Satapathy, modified 6 Years ago. Junior Member Posts: 74 Join Date: 7/28/15 Recent Posts
Hello,

I am working on Liferay DXP 7.1 with the default embedded Elastic Serach.

My requirement is, when the search result  has any user in the result list, then on clicking on the user name it should redirect me to a specific page instead of taking to the user Profile page.

Using IndexerPostProcessor i am able to change the text of summary title but not able to modify the link. Any pointer on resolving this would be of great help.

Thanks,
​​​​​​​Gopal
thumbnail
David H Nebinger, modified 6 Years ago. Liferay Legend Posts: 14933 Join Date: 9/2/06 Recent Posts
Wrong path my friend. The IndexPostProcessor is a backend-only utility to manage what is indexed/searched, it has no impact on how the results are rendered.

Search ui customization would be based upon building out a custom ADT.  In the ADT you can use whatever logic you need to for the user link. After you create the ADT, assign it to the search portlet and you should be golden.
Gopal Satapathy, modified 6 Years ago. Junior Member Posts: 74 Join Date: 7/28/15 Recent Posts
Thanks David.

Could you please suggest how i can assign an ADT to the search portlet In DXP 7.1? I could not find any option in configuration, neither in default Search Portlet nor in the default Search Result Portlet.

Thanks
​​​​​​​Gopal
Gopal Satapathy, modified 6 Years ago. Junior Member Posts: 74 Join Date: 7/28/15 Recent Posts
Hello,

I am still looking for a solution for this. Any pointer?

Thanks in advance.

Thanks,
​​​​​​​Gopal