Custom SearchResults Page configuration

Iñigo Boyano, modified 4 Years ago. Junior Member Posts: 96 Join Date: 2/4/14 Recent Posts

Hi devs!

I have the following requirement to implement.

I need to implement a custom search results page to show only results of  web contents having a determinate structures and i want to use the out of the box search components in Liferay.

My current resutls page have:

SearchResults Portlet --> To show the saerch results

Type Facet --> To filter only for web content type in the results search. I have setup with only web content type in current types

Category Facet --> to show and filter by categories in the resutls showed.

Custom Facet --> Configured to show the structures of the web contents showed, thats is half of my solution because i only need to show results for two structures, thats its my question.., How can i make a search only for web contents having two exact structures?

I tried to make diferent configurations of the custom facet and custom filter but i dont get the solution needed.

Im using Liferay DXP 7.2 service Pack 16

Any help?

Kind regards

Jamie Sammons, modified 4 Years ago. New Member Posts: 2 Join Date: 2/28/22 Recent Posts

you can try with custom filter component where you can place your restrictions.