running Elastic Search as a Windows service

As of 0.90.5+, support for running ElasticSearch as a Windows Service is officially included in the Windows distribution.

https://www.elastic.co/blog/0-90-5-released/

From the bin folder:

> service.bat
Usage: service.bat install|remove|start|stop|manager [SERVICE_ID]

> service install
Installing service      :  'elasticsearch-service-x64'
Using JAVA_HOME (64-bit):  c:jvmjdk1.7
The service 'elasticsearch-service-x64' has been installed.

> service start
The service 'elasticsearch-service-x64' has been started

Notice the latest version has changed bat name into elasticsearch-service.bat.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)