Elastic search is real time distributed search engine. Its very fabulous to use elastic search for projects instead of creating own search strategies.
So here are the steps to install elastic search:
- Download debian package of elastic search from official site.
- Install JDk by - sudo apt-get install openjdk-6-jdk
- Install elsatic search - sudo dpkg -i elasticsearch-0.90.2.deb (path of debian package of elasticsearch)
{
- ok: true,
- status: 200,
- name: "Lodestone",
- version: {
- number: "0.90.2",
- snapshot_build: false,
- lucene_version: "4.3.1"
- tagline: "You Know, for Search"
Number of options are avail for elastic search. Run following command on terminal to see options.
a) anupam@anupampc:~$ sudo service elasticsearch help
Output
* Usage: /etc/init.d/elasticsearch {start|stop|restart|force-reload|status}
b) anupam@anupampc:~$ sudo service elasticsearch start
Output
* Starting ElasticSearch Server [ OK ]
c) anupam@anupampc:~$ sudo service elasticsearch status
Output
* ElasticSearch Server is running with pid 4996
d) anupam@anupampc:~$ sudo service elasticsearch restart
Output
* Stopping ElasticSearch Server [ OK ]
Plugin avail for using elastic search in chrome
SENSE plug-in avail for google chrome. Add sense to your favorite google chrome and ready to use elasticsearch. Once you have installed it you'll find Sense's icon in the upper right
corner in Chrome. The first time you click it and run Sense a very
simple sample request is prepared for you. It is possible to run queries directly on sense and see results.
0 comments:
Post a Comment