title: How to use Liferay search service inside my own module?
body: <p>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:</p>
  
  <ol>
  <li>Create some logic in the theme to completely change the search page and organize the data</li>
  <li>Create a module that uses the same search service that Liferay actually uses.</li>
  </ol>
  
  <p>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?</p>
  
  <p>I tried to use this one as a guide: <a href="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" rel="nofollow noreferrer">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</a>; but I couldn't create a PortalOpenSearchImpl instance.</p>