Introduction
Liferay provides a powerful built-in tool that allows us to search for content. This is one of the most important functionalities in Liferay. Why? The answer is simple: searching is needed everywhere. It is not possible to find or locate an article, wiki, or document in the tangle of content without a good search engine. Liferay architecture provides a useful tool to index, search, and display such documents as faceted results. Faceted means grouped by a specific thematic category, grouped by a specific entity type, or other such criteria.
In fact, there is a whole bunch of search functionalities in Liferay. It is possible to find entities using SQL queries as well as using a dedicated search engine called Apache Lucene (http://lucene.apache.org). In many places (especially in the configuration or in the control panel), Liferay finds entities using SQL queries. On the other hand, Portal provides a dedicated portlet called Search Portlet, which allows us to search using the Lucene...