This is a basic PoC for setting up ElasticSearch from Scratch in a machine and APIs to Insert and Retrieve data from the ES instance
Elasticsearch is a distributed, free and open search and analytics engine for all types of data, including textual, numerical, geospatial, structured, and unstructured. -- The ElasticSearch Team But the primary issue is that many people are unaware how this can be used in existing web applications This is a lightweight application which will store the data on ES cluster and then retrieve using ES - Python Queries
- Python Flask
- ElasticSearch
- Docker
Ensure to allocate more than 4 GB of space for docker, to ensure that the elastic cluster starts without fail
MacOS 11
This is done using ES 7+ and Python 3.7.5
- Steps for setting up on your machine
- Pull the latest code from main branch
- Create a python virtualenv
- Install packages mentioned in requirements.txt
- Use docker-compose up to create the ES container
- Run flask_app.py to get started
- api contains the python APIs for accessing ES using python