Elasticsearch

Elasticsearch, the distributed restful search and analytics :-
————————————————————————

Elasticsearch is a flexible and powerful open source, distributed, real-time search and analytics engine. Architected from the ground up for use in distributed environments where reliability and scalability are must haves, Elasticsearch gives you the ability to move easily beyond simple full-text search. Through its robust set of APIs and query DSLs, plus clients for the most popular programming languages, Elasticsearch delivers on the near limitless promises of search technology.

More details at http://www.elasticsearch.org/overview/elasticsearch

You can download your copy from below link http://www.elasticsearch.org/download/

[root@dbversity tmp]# cd /data/3
[root@dbversity 3]# ll -lhtr
-rw-r–r– 1 oracle dba 27M Nov 24 08:19 elasticsearch-1.4.0.tar.gz
[root@dbversity 3]#
[root@dbversity 3]# tar -zxvf elasticsearch-1.4.0.tar.gz
elasticsearch-1.4.0/config/elasticsearch.yml
elasticsearch-1.4.0/config/logging.yml
elasticsearch-1.4.0/bin/plugin.bat
elasticsearch-1.4.0/bin/service.bat
elasticsearch-1.4.0/bin/elasticsearch.bat
elasticsearch-1.4.0/bin/elasticsearch.in.bat
elasticsearch-1.4.0/bin/elasticsearch-service-x86.exe
elasticsearch-1.4.0/bin/elasticsearch-service-mgr.exe
elasticsearch-1.4.0/bin/elasticsearch-service-x64.exe
elasticsearch-1.4.0/bin/elasticsearch.in.sh
elasticsearch-1.4.0/bin/elasticsearch
elasticsearch-1.4.0/bin/plugin
elasticsearch-1.4.0/lib/sigar/libsigar-x86-freebsd-6.so
elasticsearch-1.4.0/lib/sigar/sigar-x86-winnt.dll
elasticsearch-1.4.0/lib/sigar/libsigar-amd64-freebsd-6.so
elasticsearch-1.4.0/lib/sigar/libsigar-x86-freebsd-5.so
elasticsearch-1.4.0/lib/sigar/libsigar-sparc-solaris.so
elasticsearch-1.4.0/lib/sigar/libsigar-amd64-solaris.so
elasticsearch-1.4.0/lib/sigar/libsigar-x86-solaris.so
elasticsearch-1.4.0/lib/sigar/libsigar-universal64-macosx.dylib
elasticsearch-1.4.0/lib/sigar/sigar-1.6.4.jar
elasticsearch-1.4.0/lib/sigar/libsigar-amd64-linux.so
elasticsearch-1.4.0/lib/sigar/libsigar-universal-macosx.dylib
elasticsearch-1.4.0/lib/sigar/sigar-amd64-winnt.dll
elasticsearch-1.4.0/lib/sigar/libsigar-x86-linux.so
elasticsearch-1.4.0/lib/sigar/libsigar-sparc64-solaris.so
elasticsearch-1.4.0/lib/sigar/sigar-x86-winnt.lib
elasticsearch-1.4.0/lib/sigar/libsigar-ia64-linux.so
elasticsearch-1.4.0/README.textile
elasticsearch-1.4.0/LICENSE.txt
elasticsearch-1.4.0/NOTICE.txt
elasticsearch-1.4.0/lib/lucene-core-4.10.2.jar
elasticsearch-1.4.0/lib/lucene-analyzers-common-4.10.2.jar
elasticsearch-1.4.0/lib/lucene-queries-4.10.2.jar
elasticsearch-1.4.0/lib/lucene-memory-4.10.2.jar
elasticsearch-1.4.0/lib/lucene-highlighter-4.10.2.jar
elasticsearch-1.4.0/lib/lucene-queryparser-4.10.2.jar
elasticsearch-1.4.0/lib/lucene-sandbox-4.10.2.jar
elasticsearch-1.4.0/lib/lucene-suggest-4.10.2.jar
elasticsearch-1.4.0/lib/lucene-misc-4.10.2.jar
elasticsearch-1.4.0/lib/lucene-join-4.10.2.jar
elasticsearch-1.4.0/lib/lucene-grouping-4.10.2.jar
elasticsearch-1.4.0/lib/lucene-spatial-4.10.2.jar
elasticsearch-1.4.0/lib/spatial4j-0.4.1.jar
elasticsearch-1.4.0/lib/lucene-expressions-4.10.2.jar
elasticsearch-1.4.0/lib/antlr-runtime-3.5.jar
elasticsearch-1.4.0/lib/asm-4.1.jar
elasticsearch-1.4.0/lib/asm-commons-4.1.jar
elasticsearch-1.4.0/lib/jts-1.13.jar
elasticsearch-1.4.0/lib/groovy-all-2.3.2.jar
elasticsearch-1.4.0/lib/log4j-1.2.17.jar
elasticsearch-1.4.0/lib/jna-4.1.0.jar
elasticsearch-1.4.0/lib/elasticsearch-1.4.0.jar
[root@dbversity 3]#
[root@dbversity 3]#
[root@dbversity 3]# ll -lhtr
-rw-r–r– 1 oracle dba 27M Nov 24 08:19 elasticsearch-1.4.0.tar.gz
drwxr-xr-x 5 root root 4.0K Nov 24 08:26 elasticsearch-1.4.0
[root@dbversity 3]#
[root@dbversity 3]# mv elasticsearch-1.4.0 elasticsearch
[root@dbversity 3]#
[root@dbversity 3]# cd elasticsearch
[root@dbversity elasticsearch]# ll -lhtr
total 40K
-rw-rw-r– 1 root root 150 Sep 23 11:13 NOTICE.txt
-rw-rw-r– 1 root root 12K Sep 23 11:13 LICENSE.txt
-rw-rw-r– 1 root root 8.3K Oct 1 06:25 README.textile
drwxr-xr-x 2 root root 4.0K Nov 24 08:26 config
drwxr-xr-x 2 root root 4.0K Nov 24 08:26 bin
drwxr-xr-x 3 root root 4.0K Nov 24 08:26 lib
[root@dbversity elasticsearch]#
[root@dbversity elasticsearch]# cd bin/
[root@dbversity bin]#
[root@dbversity bin]#
[root@dbversity bin]#
[root@dbversity bin]# ll -lhtr
total 324K
-rw-rw-r– 1 root root 79K Sep 23 11:13 elasticsearch-service-x86.exe
-rw-rw-r– 1 root root 102K Sep 23 11:13 elasticsearch-service-x64.exe
-rw-rw-r– 1 root root 102K Sep 23 11:13 elasticsearch-service-mgr.exe
-rw-rw-r– 1 root root 6.1K Nov 5 09:28 service.bat
-rw-rw-r– 1 root root 451 Nov 5 09:28 plugin.bat
-rw-rw-r– 1 root root 227 Nov 5 09:28 elasticsearch.bat
-rwxr-xr-x 1 root root 1.1K Nov 5 09:28 plugin
-rwxr-xr-x 1 root root 2.1K Nov 5 09:28 elasticsearch.in.sh
-rw-rw-r– 1 root root 2.7K Nov 5 09:28 elasticsearch.in.bat
-rwxr-xr-x 1 root root 6.8K Nov 5 09:28 elasticsearch
[root@dbversity bin]#
[root@dbversity bin]# ./elasticsearch
[2014-11-24 08:28:34,300][INFO ][node ] [Captain Omen] version[1.4.0], pid[1316], build[bc94bd8/2014-11-05T14:26:12Z]
[2014-11-24 08:28:34,301][INFO ][node ] [Captain Omen] initializing …
[2014-11-24 08:28:34,312][INFO ][plugins ] [Captain Omen] loaded [], sites []
[2014-11-24 08:28:39,081][INFO ][node ] [Captain Omen] initialized
[2014-11-24 08:28:39,082][INFO ][node ] [Captain Omen] starting …
[2014-11-24 08:28:39,370][INFO ][transport ] [Captain Omen] bound_address {inet[/0.0.0.0:9300]}, publish_address {inet[/10.40.87.37:9300]}
[2014-11-24 08:28:39,430][INFO ][discovery ] [Captain Omen] elasticsearch/PH2X0C-STkyerCha7vvoIA
[2014-11-24 08:28:43,250][INFO ][cluster.service ] [Captain Omen] new_master [Captain Omen][PH2X0C-STkyerCha7vvoIA][dbversity.nam.nsroot.net][inet[/10.40.87.37:9300]], reason: zen-disco-join (elected_as_master)
[2014-11-24 08:28:43,333][INFO ][http ] [Captain Omen] bound_address {inet[/0.0.0.0:9200]}, publish_address {inet[/10.40.87.37:9200]}
[2014-11-24 08:28:43,334][INFO ][node ] [Captain Omen] started
[2014-11-24 08:28:43,358][INFO ][gateway ] [Captain Omen] recovered [0] indices into cluster_state

^Z
[1]+ Stopped ./elasticsearch
[root@dbversity bin]# bg
[1]+ ./elasticsearch &
[root@dbversity bin]#
[root@dbversity bin]#
[root@dbversity bin]#
[root@dbversity bin]# ps -ef | grep ela
root 1316 29835 7 08:28 pts/2 00:00:11 /usr/java/jdk1.7.0_71/bin/java -Xms256m -Xmx1g -Xss256k -Djava.awt.headless=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -XX:+DisableExplicitGC -Delasticsearch -Des.foreground=yes -Des.path.home=/data/3/elasticsearch -cp :/data/3/elasticsearch/lib/elasticsearch-1.4.0.jar:/data/3/elasticsearch/lib/*:/data/3/elasticsearch/lib/sigar/* org.elasticsearch.bootstrap.Elasticsearch
root 2311 29835 0 08:31 pts/2 00:00:00 grep ela
[root@dbversity bin]#

 

 

[root@dbversity bin]# curl -XGET http://localhost:9200/
{
“status” : 200,
“name” : “Captain Omen”,
“cluster_name” : “elasticsearch”,
“version” : {
“number” : “1.4.0”,
“build_hash” : “bc94bd81298f81c656893ab1ddddd30a99356066”,
“build_timestamp” : “2014-11-05T14:26:12Z”,
“build_snapshot” : false,
“lucene_version” : “4.10.2”
},
“tagline” : “You Know, for Search”
}
[root@dbversity bin]#

  • Ask Question