Tuesday, May 10, 2016

Install ElasticSearch on Window(wamp) Server

Elasticsearch is an open-source search server based on Lucene. It provides a broadly-distributed, readily-scalable, multitenant-capable full-text search engine with an HTTP web interface as JSON schema documents. Elasticsearch can power extremely fast searches that support your data discovery applications.
ElasticSearch  is mostly use for searching functionality implementation first it's store huge data as local storage and than after give data according to our search as JSON format.It's easy to use so mostly people use this for faster search functionality.
For installation of ElasticSearch with PHP based application than it's some complicated for installation in window server. Here describe simple and basic steps of the installation process of ElasticSearch.
  • First download ElasticSearch latest version from Here
  • Than after download Zip or Tar file package.
  • First check in your system java is installed or not.for that open cmd and write `java -version` that display version if installed.
  • If not installed than find latest version of Java from Here and install into your system.
  • Set new "Environment Variables" path as 'JAVA_HOME' and path 'C:\Program Files\Java\jre1.8.0_77' (Where you install java).
  • Extract all files of ElasticSearch downloaded from site to system drive.
  • Now open 'elasticsearch.bat' file in 'C:\elasticsearch-2.3.2\bin\' directory.
  • If there is any error than it's display otherwise it's execute all process. 
  • After complete all process don't close it.Now open http://localhost:9200
  • It's display  ElasticSearch information.
For use ElasticSearch in PHP based application download from Here and follow steps describe there and also describe basic exampled for how to use.Install elastic search in PHP through Composer.
If you want to install  ElasticSearch on live server than follow Here.and must set `elasticsearch.yml` file(in C:\elasticsearch-2.3.2\config\ folder) variable according to server.

No comments :

Post a Comment