https://github.com/chen0040/java-elasticsearch-standalone-server
A standalone elasticsearch server that integrates with spring-boot
https://github.com/chen0040/java-elasticsearch-standalone-server
elasticsearch integration-testing standalone
Last synced: about 2 months ago
JSON representation
A standalone elasticsearch server that integrates with spring-boot
- Host: GitHub
- URL: https://github.com/chen0040/java-elasticsearch-standalone-server
- Owner: chen0040
- License: mit
- Created: 2018-01-04T04:18:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-04T11:50:58.000Z (over 8 years ago)
- Last Synced: 2025-06-04T02:56:58.973Z (about 1 year ago)
- Topics: elasticsearch, integration-testing, standalone
- Language: Java
- Size: 16 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```bash
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.