Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
This app provides integration with Elasticsearch, the popular open source search server based on Apache Lucene
How do I get started?
- Ensure Liferay 6.2 running on Java 1.7 (Should work for Liferay 6.1 as long as Java version is 1.7).
- Install elasticsearch.
- Download Elasticsearch 1.4.0 at http://www.elasticsearch.org/downloads/1-4-0/
- Start the elasticsearch server. (Go to elasticsearch-1.4.0 bin directory and double click on elasticsearch.bat windows batch file).
- Configure elasticsearch for Liferay
Add the following lines to the portal-ext.properties file which point to the correct ip address and port of Elasticsearch server. If you want a cluster of Elastic search server addresses you can have comma separated list(since v1.3). The index name also can be specified(since v1.3). Please make sure that index name only starts with "liferay_" since the generic ES mapping template should work.
- Restart liferay
- Deploy elasticray war in your Liferay installation.
- Do a "Reindex all search indexes" on from control panel -> Server Administration
What are Elasticray’s prerequisites?
- Mandatory: Java 1.7
- Elasticsearch: 1.4.0
- Liferay 6.2 CE GA2 (Java 1.7)
What Liferay versions can I use with Elasticray?
Liferay 6.1 and Liferay 6.2 (both CE and EE) but mandatory requirement is Java 1.7
What DB engines can I use with elasticray ?
elasticray has been tested for Tomcat + Liferay + Elasticsearch + Mysql It should work with any DB supported by Liferay - Oracle, Postgres. (The plugin uses Liferay DB connections) We have not tested with these DBs and will appreciate feedback from anyone attempting with Oracle, Postgres or other DBs.
What Elasticsearch versions should I use with Elastciray?
Elasticsearch 1.4.0 is recommended. (Also tested that it works well with elasticsearch 1.3.2)
Should I use the release version or download code from github?
Please use releases for production. Elasticray v1.3 is the latest stable release. Code can be used for development purposes only. Download code if you want to read it and/or contribute.
What is the use of Elasticray?
Its the simplest way to replace SOLR/lucene with elasticsearch in a Liferay deployment. You get all features of SOLR with additional ease of elasticsearch clustering. While SOLR is a great tool, clustering SOLR is a tedious process requiring additional software like zookeper. (link please) Elasticsearch has substantial performance improvements over SOLR. (links from net)
What does “Elasticray” mean?
Elasticray is a combination of
Elasticsearch and Life
Is Elasticray stable?
Elasticray v1.3 is completely stable.
Who’s behind Elasticray?
R-Knowsys Technologies - A boutique enterprise open source consulting company.