Elastic Search Installation
Contents
Elastic search installation notes
Install Elastic Search on Mac
Make sure you have homebrew
installed first!
Install Java 8
brew tap caskroom/versions
: installing elastic search using homebrew requires Java8…brew cask install java8
Install Elastic Search
brew install elasticsearch
- Run
brew info elasticsearch
, you will see where the data is stored. For example, you will see…
|
|
Start Elastic Search
Simply run elasticsearch
in the terminal, you will see a lot of messages being thrown to your screen.
Wait for a while until you see something like this…
|
|
You are good to go!
Elastic Search Usages
Python API
We will use elasticsearch-py.
- Setup virtual environment:
virtualenv venv
, or use conda if you wish - Activate the virtual environment:
source venv/bin/activate
- Install the package:
pip install elasticsearch
Read the documentation