Elastic Full-Text Search in Liferay

A presentation at Liferay Digital Solutions Forum in in London, UK by Philipp Krenn

How does search work in Liferay and more generally in Elasticsearch? It might be a little intimidating if you have never worked with full-text search, but the basic principles are easy to explain — that’s exactly what we will do in this talk:

  • How full-text search works in general and what the differences to databases are.
  • How the score or quality of a search result is calculated.
  • How to handle languages, search for terms and phrases, run boolean queries, add suggestions, work with ngrams, and more with Elasticsearch.

We will run all the queries live and explore the possibilities for different use-case.

Video

Code

The following code examples from the presentation can be tried out live.