In this tutorial, you will be building a search engine to search for product attributes using a Flask app and Elasticsearch.
To participate in this tutorial, you need to complete the following prerequisites:
-
Install Python 3.7.9.
-
Install Elasticsearch 7.11 and Kibana 7.11 (Note: You may need to install Java)
- For OS X, you can use Homebrew:
brew update
brew install kibana
brew install elasticsearch
brew services start elasticsearch
brew services start kibana
-
For Windows or Linux, see the Elastic downloads page forElasticsearch and Kibana.
-
Make sure you can visit http://localhost:5601/ and http://localhost:9200/ in your browser.
- Clone the
elasticsearch-handson
repository to your computer by running:
git clone github.com/dollardhingra/elasticsearch-handson
- In root of the repository, set up a virtualenv:
python3 -m venv venv
source venv/bin/activate
- Install the necessary python requirements:
pip install -r requirements.txt
- Set up the searchapp:
pip install -e .
You're all set for the tutorial! :)