Installing a Search Engine

A search engine is a critical component of your Liferay Portal installation. If you’re here, you probably know the basics already and want to configure a search engine for your Liferay Portal deployment.

Liferay Portal ships with Elasticsearch, a highly scalable, full-text search engine. Elasticsearch is well-supported and almost certainly meets any search and indexing need you have. For deployment settings, learn to configure a standalone or remote Elasticsearch server or cluster here.

Solr is also supported in Liferay Portal.

Choosing a Search Engine

Elasticsearch and Solr are both supported, but there are some differences in how they work with Liferay Portal. In certain cases, you must choose Elasticsearch.

If you answer yes to either of these questions, you must choose Elasticsearch:

  1. You’re using Liferay Commerce, Liferay’s commerce solution.

  2. Your custom search code requires the use of the TermsSetFilter API or the Geolocation APIs that are implemented in the Liferay Connector to Elasticsearch.

Liferay Commerce requires the TermsSetFilter implementation available in the Elasticsearch connector, so you must use Elasticsearch if you’re using Liferay Commerce.

Both of these Elasticsearch-only developer features are not currently implemented in the Liferay Connector to Solr, but may be added in the future. If you must use either of those features in your search solution’s code, use Elasticsearch. If you’re using Liferay Commerce, use Elasticsearch. Otherwise, feel free to use Elasticsearch or Solr to index your portal content.

Elasticsearch

Elasticsearch is an open source, highly scalable, full-text search and analytics engine. By default, Elasticsearch runs as an embedded search engine, but it’s only supported in production as a...

Read More

Installing Solr

Solr is a popular enterprise search platform built on Apache Lucene. It’s reliable, scalable, and fault tolerant. Read more about it here. Although Elasticsearch is the default search engine that...

Read More
0 (0 Votes)
Setting Up Marketplace Previous