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.
Requirements:
- 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
or
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.