Skip to content

Instantly share code, notes, and snippets.

@naiduv
Last active April 13, 2016 00:53
Show Gist options
  • Select an option

  • Save naiduv/322881d15bcea41fbe3ecdbd6beb3eac to your computer and use it in GitHub Desktop.

Select an option

Save naiduv/322881d15bcea41fbe3ecdbd6beb3eac to your computer and use it in GitHub Desktop.
How to install and run Elastic Search on windows

##Installing Elastic Search on Windows

Step 0) Download and install Java

    Make sure that you have an Environment variable for [JAVA_HOME](https://www.google.com/webhp?sourceid=chrome-instant&rlz=1C1CHFX_enUS649US649&ion=1&espv=2&ie=UTF-8#q=setting+java_home+windows)
    
    Also, you will need to add and environment variable for _JAVA_OPTIONS with a value of -Xmx512M

Step 1) Download the zip for Elastic Search

    Unzip and place the elasctic search folder somewhere in your path like C:\

Step 2) All done! Open a cmd and run the elasticSearch.bat file

    This should create the api server at http://localhost:9200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment