thumbnail

In the sequel for Implement Predictive Search in Liferay Part 1: Autocomplete I’ll demonstrate how to create a predictive search in another flavor: search as you type. It works like this: the user starts entering keywords in the search bar and gets instant content suggestions. The suggestions are direct links to contents. In the previous demonstration I used a headless...

thumbnail

Liferay doesn’t have predictive search, but it doesn’t mean it would be difficult to implement. In the following two blogs I’ll demonstrate implementing it in two flavors: an autocomplete suggesting previous, successful keywords and a search as you type flavor suggesting matching content as keywords are entered.  The goal is to do it as simply as possible leveraging Liferay’s standard...

thumbnail

Previous parts of this series can be found here (part 1),  here (part 2), here (part 3) and here (part 4). In the final part of this blog series few more interesting features are added to the previously created search portlet: possibility to use Liferay Audience Targeting to make segmented content more relevant, possibility to configure sort and facet...

thumbnail

(Previous parts of this series can be found here (part 1),  here (part 2) and here (part 3) As a random, Liferay custom search developer you might want to get support for Boolean operators and|or Lucene syntax back. Also, it would be nice to have more control of hits relevancy and about the logic, the queries are being built in the end. To get those, we are going a little...

thumbnail

(Previous parts of this series can be found here (part 1) and here (part 2) This time we add an autocomplete / keyword suggester to the search field and query suggestions with automatic alternative search mechanism for the queries not giving any results. First, a few words about the semantics and definitions. Autocomplete, keywords and query suggestions and spellchecking are,...

thumbnail

Creating a Google Like Search Part II: Filter by Structure and Document Type (Previous part of the series can be found here) In the second part of this blog series I’ll be adding new filtering capabilities to the portlet created in the first part. Filters added are filter by web content structure and filter by file document type and extension. That way, if you have for example...

thumbnail

More than once I've been asked to customise Liferay search to be "simpler" and more "Google like".   In the first part of this blog series I'm going to create a custom search portlet from scratch and in the second part I’ll be discussing options to tune search behaviour like relevance.   First task in creating a custom...

thumbnail

Flexible Liferay 7 - Tomcat Setup The challenge If you want to run Liferay 7 on Tomcat using the bundle provided by Liferay or packages provided in your Linux distribution are convenient ways to get Liferay up and running fast. In many cases you may however want to have a better control on which Tomcat version you are running on and also want to have an easy upgrade path....