Elasticsearch is a flexible and powerful free / libre / open source, distributed, real-time search and analytics engine. It is super fast, RESTful, based on Apache Lucene and has a very high activity level: www.ohloh.net/p/elasticsearch
It is part of “The Elasticsearch ELK Stack”. The two other apps of the stack are:
It is also part of Tiki Suite
Assumption: you want to use Elasticsearch for data on a ClearOS instance to index data on the same server (ex.: with WordPress, Tiki, etc.). To have a more advanced setup (ex.: a cluster), please refer to the Elasticsearch documentation.
yum --enablerepo=clearos-core install java-1.8.0-openjdk
alternatives --config java
rpm --import http://packages.elasticsearch.org/GPG-KEY-elasticsearch
[elasticsearch-1.4] name=Elasticsearch repository for 1.4.x packages baseurl=http://packages.elasticsearch.org/elasticsearch/1.4/centos gpgcheck=1 gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch enabled=1
yum install elasticsearch
chkconfig --add elasticsearch
reboot
curl localhost:9200
Here is an example of a working Elasticsearch instance.
[root@example ~]# curl localhost:9200 { "status" : 200, "name" : "Norrin Radd", "cluster_name" : "elasticsearch", "version" : { "number" : "1.4.4", "build_hash" : "c88f77ffc81301dfa9dfd81ca2232f09588bd512", "build_timestamp" : "2015-02-19T13:05:36Z", "build_snapshot" : false, "lucene_version" : "4.10.3" }, "tagline" : "You Know, for Search" }