<?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>Search bar portlet suggestions configurations</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121660006" />
  <subtitle>Search bar portlet suggestions configurations</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121660006</id>
  <updated>2026-04-06T11:30:36Z</updated>
  <dc:date>2026-04-06T11:30:36Z</dc:date>
  <entry>
    <title>RE: Search bar portlet suggestions configurations</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121661602" />
    <author>
      <name>Tibor Lipusz</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121661602</id>
    <updated>2023-03-02T19:28:42Z</updated>
    <published>2023-03-02T10:08:32Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you want to customize the search query (thus, the results), you
  need to override the default &lt;a class="external-link"
    href="https://github.com/liferay/liferay-portal/blob/7.4.3.65-ga65/modules/apps/portal-search/portal-search/src/main/java/com/liferay/portal/search/internal/suggestions/spi/BasicSuggestionsContributor.java"
    rel="noopener noreferrer" target="_blank" title="Follow link"&gt;BasicSuggestionsContributor&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;One way would be to re-implement the BasicSuggestionsContributor and
  override the &lt;em&gt;com.liferay.portal.search&lt;/em&gt; bundle following &lt;a
    class="external-link"
    href="https://github.com/lipusz/liferay-portal/blob/master/tools/osgi-marketplace-override-README.markdown"
    rel="noopener noreferrer" target="_blank" title="Follow link"&gt;https://github.com/liferay/liferay-portal/blob/master/tools/osgi-marketplace-override-README.markdown&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I've created &lt;a
  href="https://issues.liferay.com/browse/LPS-177282"&gt;https://issues.liferay.com/browse/LPS-177282&lt;/a&gt;
  based on your question and put it in our backlog, though I can't
  promise if that's going to be worked on anytime soon. Neverthless,
  feel free to vote/comment on the ticket and share more details about
  your needs and use-case.&lt;/p&gt;
&lt;p&gt;-Tibor&lt;/p&gt;</summary>
    <dc:creator>Tibor Lipusz</dc:creator>
    <dc:date>2023-03-02T10:08:32Z</dc:date>
  </entry>
  <entry>
    <title>Search bar portlet suggestions configurations</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121660005" />
    <author>
      <name>Nirmal Badodariya</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121660005</id>
    <updated>2023-03-01T16:48:46Z</updated>
    <published>2023-03-01T11:15:43Z</published>
    <summary type="html">&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;I want to configure search bar suggestions to not include folder
  names and images in the suggestions, so how can I do this in liferay
  CE version 7.4 because in DXP we have blueprints where we can define
  queries but in CE blueprints are not there, so which classes I can
  override to do this ?&lt;/p&gt;
&lt;p&gt;Thanks in Advance.  &lt;/p&gt;</summary>
    <dc:creator>Nirmal Badodariya</dc:creator>
    <dc:date>2023-03-01T11:15:43Z</dc:date>
  </entry>
</feed>
