This article is deprecated and redirects to https://support.liveagent.com/209118-Install-Elasticsearch

ElasticSearch is a distributed, free / open source search engine server based on Apache Lucene.

It has vastly better search capabilities and performance than MySql, especially when it comes to add-hoc queries and full text searching.
The installation is pretty easy.
  • LiveAgent v5.x and higher works only with ElasticSearch 6.x. (6.2.4 recommended) You can download it from here.
  • LiveAgent v4.45.1.4 and higher works with ElasticSearch 1.x and 2.x. You can download it from here.
  • With ElasticSearch 2.x you will need to add also delete-by-query plugin to ElasticSearch.
  • LiveAgent versions prior to v4.45.1.4 works with ElasticSearch up to version 1.7.X You can download it from here.
We recommend to install elasticsearch via your package manager which is easiest and fastest way of installation.
In Ubuntu the Ubuntu Software Center handles the installation of 'deb' packages:
Once the installation is finished, it is essential to start the Elastic Server. You can do so by running the following command in the terminal:
sudo service elasticsearch start
sudo /etc/init.d/elasticsearch start
Now, let's log in to Live Agent, navigate to Menu > Configuration > Elastic Search and you will see a similar screen like this one:
By default the Elastic Server binds to localhost and uses port 9200. So leave the configuration as it is and click "Enable elasticsearch"
After successful connection the following screen shows up:
Click the 'reindex all' link and confirm your choice by clicking yes in the dialog
The indexing happens in the background. 
If you refresh the "Elastic Search" screen after a while by clicking   and you see the number of indexed entries, that means, the indexing has been finished. 
NOTE: the indexing may take up minutes or even hours depending on the size of your LiveAgent database and  hardware performance. 

Ready to try LiveAgent?

It's free for the first 14 days! No credit card required.

Get Started
We work well with others...
Magento Joomla Wordpress Mailchimp
Contact us


+1-800-811-6590 (Toll Free in USA & Canada)

+421 2 33 456 826 (European Union & Worldwide)

Quality Unit, LLC 616 Corporate Way, Suite 2-3278 Valley Cottage, NY 10989

Stay in touch
Blog Google+
© 2004-2020 LiveAgent.com, All rights reserved