Skip to content

chen0040/java-elasticsearch-standalone-server

Repository files navigation

java-elasticsearch-standalone-server

Simple java elasticsearch standalone server that can run on both windows and other OS without additional setup

Feature

  • Standalone elasticsearch server that can run without additional installation on Windows, Linux and MacOS.
  • Allow shut down of the elasticsearch server remotely via web api call

Usage

copy the elasticsearch-standalone.jar to your directory and run the following command:

java -jar elasticsearch-standalone.jar

This will start the elasticsearch server at port 9200 (transport tcp port at 9350) and start another web server at port 9201.

To check whether the elasticsearch server is alive, call the following url:

http://localhost:9201/ping

To kill the elasticsearch server remotely, just call the following url:

http://localhost:9201/kill

Note

In case you want to modify the behavior the elasticsearch server and want to rebuild, you can run the make.ps1 on Windows or make.sh on Linux or Mac.

About

A standalone elasticsearch server that integrates with spring-boot

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published