Filter search result per Parent CategoryFilter search result per Parent Categoryhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=983966562024-03-28T10:30:54Z2024-03-28T10:30:54ZFilter search result per Parent CategoryNicolas Pinçonhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=983966552017-11-10T21:17:17Z2017-11-10T21:17:17ZHi,<br /><br />I would like to be able to filter a WebContent search result set with parent category. <br />Let me illustrate my problem with an example.<br />I have 1 vocabulary containing 4 categories.<br />Vocabulary <strong>: Countries and Cities</strong><br /><ul><li>Category 1 : USA<br /><ul><li>Category 1a : NYC</li><li>Category 1b : Washington</li></ul></li><li>Category 2 : Spain<br /><ul><li>Category 2a : Madrid</li></ul></li></ul><br /><br />Finaly, I have a webcontent (WC1) associated with "NYC" another one associated to "Washington" (WC2) and a third one associated to "Madrid" (WC3).<br /><br />When I do a search, my 3 results are shown. I would like to filter my search result per "USA" (so the "Parent category") in order to retrieve only 2 results (WC1 and WC2) :<br /> - <strong>Is it possible only throuhgt search portlet configuration</strong> ? I have been looking in search portlet configuration but can't find the correct setting.<br /> - Only throught custom code ? Like overriding the Liferay search portlet ?<br /><br />I am using Liferay7-GA4.<br /> <br /> Many thanks,<br /> <br />