<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Customize search results and facets in Liferay 7.1</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120788813" />
  <subtitle>Customize search results and facets in Liferay 7.1</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120788813</id>
  <updated>2026-06-12T15:52:59Z</updated>
  <dc:date>2026-06-12T15:52:59Z</dc:date>
  <entry>
    <title>Customize search results and facets in Liferay 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120788812" />
    <author>
      <name>Rafael Bravo Díaz</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120788812</id>
    <updated>2021-05-17T16:33:33Z</updated>
    <published>2021-05-17T10:39:27Z</published>
    <summary type="html">&lt;p&gt;this is my first question, thanks in advance.&lt;/p&gt;
&lt;p&gt;I am trying to customize the liferay results portlet and facets, with
  custom results. I need to filter the results once the search is
  launched, and remove the results that do not have layoutId :&lt;/p&gt;
&lt;p&gt;with-&amp;gt; layoutIds = journalContentSearchLocalService.getLayoutIds(groupId,false,articleIdResult);&lt;/p&gt;
&lt;p&gt;I´m doing this in a jsp fragment, but i think that it´s not correct.&lt;/p&gt;
&lt;p&gt;I have been searching and i think the correct way is to modify the
  java class with the action, for example with acction coomand hook, is
  this correct?&lt;/p&gt;
&lt;p&gt;Please, can you explain me the correct way to modify this functionalities?&lt;/p&gt;
&lt;p&gt;Regards!!&lt;/p&gt;</summary>
    <dc:creator>Rafael Bravo Díaz</dc:creator>
    <dc:date>2021-05-17T10:39:27Z</dc:date>
  </entry>
</feed>
