I have a requirement with Liferay 7.1. I need to create a search page where the user can see the result organized into columns by some categories. I've been thinking two approaches:
- Create some logic in the theme to completely change the search page and organize the data
- Create a module that uses the same search service that Liferay actually uses.
I rather chose the second approach because I don't want to mess with the DOM and I think it's easier to make my own page, but I haven't been able to find that service, could anyone give me some information about that search service I need to use?
I tried to use this one as a guide: https://github.com/liferay/com-liferay-portal-search/blob/master/portal-search-web/src/main/java/com/liferay/portal/search/web/internal/portlet/SearchPortlet.java; but I couldn't create a PortalOpenSearchImpl instance.