Zebra is the default search engine with Koha. Koha project preparing to adopt Elasticsearch as the default search in the near future. Koha users can try Elasticsearch with Koha. Elasticsearch offers speed and more functionality than its counterparts and is considered an innovative search engine suitable to match the latest requirements.
Here is the installation manual of Elasticsearch for Koha. I prepared this manual by receiving inspiration from the installation manual prepared by Dr Mohan Raj Pradhan, Professor (Retired), Department of Library and Information Science, Tribhuvan University, Nepal. I tried the installation of ElasticSearch on Ubuntu 20.04 LTS. Install the Koha before the implementation of Elasticsearch. Try the Elasticsearch installation on a test machine, not on Koha production computer.
Install the Koha dependencies and the Java JDK
sudo apt install koha-elasticsearch openjdk-11-jdk-headlessInstallation of Elasticsearch
Elasticsearch 7 is the latest version. But Koha is not ready to adopt version 7. Koha uses Elasticsearch version 6.sudo wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
sudo echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-6.x.list
sudo apt-get update && sudo apt-get install elasticsearch
Configure Elasticsearch for auto start
sudo /bin/systemctl daemon-reloadsudo /bin/systemctl enable elasticsearch.service
Install the analysis-icu plugin
sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-icuRestart the Elasticsearch server
sudo systemctl start elasticsearch.serviceCheck running status of Elasticsearch
Wait a few seconds then check if it is running correctlysudo apt install curl
curl localhost:9200
curl http://localhost:9200/_cluster/health?pretty
Check installed Elasticsearch version
cd /usr/share/elasticsearchsudo ./bin/elasticsearch --version
Change Search engine in Koha
Administration > Global system preferences > Administration > Search engine.Rebuild search index
sudo koha-elasticsearch --rebuild -d libraryReferences
Elasticsearch
Install Elasticsearch with Debian packagehttps://www.elastic.co/guide/en/elasticsearch/reference/6.8/deb.html
Koha Adopts Elastic for Search Functionality
https://bywatersolutions.com/news/koha-adopts-elastic-for-search-functionality
No comments:
Post a Comment