<?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>Exclude users (or anything else) from 7.2 search results</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119095866" />
  <subtitle>Exclude users (or anything else) from 7.2 search results</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119095866</id>
  <updated>2026-04-07T03:59:17Z</updated>
  <dc:date>2026-04-07T03:59:17Z</dc:date>
  <entry>
    <title>RE: Exclude users (or anything else) from 7.2 search results</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119103040" />
    <author>
      <name>Yannik Horndt</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119103040</id>
    <updated>2020-05-05T23:05:00Z</updated>
    <published>2020-05-05T23:05:00Z</published>
    <summary type="html">That&amp;#39;s the conclusion I&amp;#39;ve come to as well.&lt;br /&gt;Thank you for your answer.</summary>
    <dc:creator>Yannik Horndt</dc:creator>
    <dc:date>2020-05-05T23:05:00Z</dc:date>
  </entry>
  <entry>
    <title>RE: Exclude users (or anything else) from 7.2 search results</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119101861" />
    <author>
      <name>Jorge Diaz</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119101861</id>
    <updated>2020-05-05T15:16:01Z</updated>
    <published>2020-05-05T15:16:01Z</published>
    <summary type="html">Hi Yannik,&lt;br /&gt;About:&lt;br /&gt;&lt;blockquote&gt;&lt;em&gt; I&amp;#39;ve removed the user model from Control Panel-Configuration-System administration-Search. &lt;/em&gt;&lt;br /&gt;&lt;/blockquote&gt;I don&amp;#39;t think it is a good idea, user administration in control panel queries Elasticsearch, so perhaps it won&amp;#39;t work in case you filter the User model from search functionality.&lt;br /&gt;The easiest way is to add a type facet widget to your search result page, see: &lt;a href="https://help.liferay.com/hc/es/articles/360029133851-Facets"&gt;https://help.liferay.com/hc/es/articles/360029133851-Facets  &lt;/a&gt;this facet will filter all entities that are not selected in its configuration&lt;br /&gt;If you don&amp;#39;t want final users to see the facet widget and convert it in a filter applied by the admin users, just edit its permission and hide it to regular users.</summary>
    <dc:creator>Jorge Diaz</dc:creator>
    <dc:date>2020-05-05T15:16:01Z</dc:date>
  </entry>
  <entry>
    <title>Exclude users (or anything else) from 7.2 search results</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119095865" />
    <author>
      <name>Yannik Horndt</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119095865</id>
    <updated>2020-05-05T08:32:55Z</updated>
    <published>2020-05-05T08:32:55Z</published>
    <summary type="html">Hi Everyone,&lt;br /&gt;After searching through the docs and google yesterday, I&amp;#39;m back again.&lt;br /&gt;Coming to dxp 7.2, obviously the search has changed dramatically. I want to exclude users as a result from a search.&lt;br /&gt;So when I type &amp;#34;test&amp;#34;, I don&amp;#39;t want to receive users as a result. Content created by &amp;#34;test&amp;#34; is fine.&lt;br /&gt;I&amp;#39;ve removed the user model from Control Panel-Configuration-System administration-Search.&lt;br /&gt;Is there anything else I need to do? Because that didn&amp;#39;t do anything visible for me.&lt;br /&gt;Thanks!</summary>
    <dc:creator>Yannik Horndt</dc:creator>
    <dc:date>2020-05-05T08:32:55Z</dc:date>
  </entry>
</feed>
