Install elasticsearch on windows.

Following are simple steps to setup and configured elasticsearch on Spider-Man: Homecoming 2017 online

  1. Download elasticsearch –
  2. Change elasticsearch.yml as per your requirement and put it in your custom folder.
  3. Create batch file named – “ESInstall.bat” on windows command line.
  4. Add following code into – ESInstall.bat
  5. Run batch file as ESInstall


@echo off
echo Welcome! Installation and Configuration of elasticsearch has been started
echo Setting up java environment.
SET "JAVA_HOME=c:\Program Files\Java\jdk1.7.0_51"
echo Set memory.
echo "Copy Elasticsearch Config file, if you have customized"
copy elasticsearch.yml elasticsearch-1.0.0\config\
echo "Start Elasticsearch"
start /b elasticsearch-1.0.0\bin\elasticsearch
echo "Install Head Plugin"
elasticsearch-1.0.0\bin\plugin --install mobz/elasticsearch-head
echo "Done!"

Run Batch File on command prompt as :

It will setup elasticsearch with head The Mummy movie online now

Note: Please check your java installation path and update in batch file.

Categories: Elasticsearch