Enter a keyword in the Search Bar and click the Search button. The default search experience redirects to a page with results on the right and a collection of facets on the left.

Example page of search results.

A facet aggregates search results by a common characteristic. This makes it easier to filter through the search results. By default, Liferay includes the following facets:

Site Facet: Filters results by their Site.

Type Facet: Filters results by the Asset Type.

Tag Facet: Filters results by Tag.

Category Facet: Filters results by Category.

Folder Facet: Filters results by Folder.

User Facet: Filters results by the content creator.

Modified Facet: Filters results by the last modified date.

Custom Facet: Filters results by some other indexed field.

Each item in a facet (selected using the checkbox) is called a Facet Term (term for short).

Using Facets

To use facets, check the terms to filter your search results. For example, if you were searching for documents related to Apollo, you can check a term in the Type facet.

Apollo search results filtered by type.

If you were specifically looking for documents related to Apollo 11, you might also check the term in the Folder facet.

Apollo search results filtered by folder.

In this way, you can pare down your search results.

Multiple Facet Selection

As seen in the example above, selecting terms in different facets is subtractive. That is, only results that match all of the filter criteria is returned.

However, selecting terms within an individual facet is additive. That is, the combined results for each term are returned. For example, if you wanted to filter the search results for both the Apollo 11 folder and Apollo 14 folder, you could check both terms.

Apollo search results for both folders.

Facets and Friendly URLs

The Search functionality uses friendly search URLs for facet filtering. With default settings, here’s the default main search URL when searching for keyword test:


Selecting a facet term adds a new parameter to the above URL. For example, selecting Blogs Entry from the Type facet results in this URL:


Selecting another facet term from the same facet category appends the same parameter again, but with the newly selected value:


The rest of the facets work the same way. Filtering by the last hour option in the Last Modified facet produces this URL:


The parameter names are configurable for each facet.

To learn more details of each facet type, refer to their individual articles.