Before we get into integrating Elasticsearch with our Django application, let's take some time and explore Elasticsearch. We'll look into how to get data into it and use the search features to get back the results we want. We won't go into a lot of details about the search as we'll look into it later when we are building the search page for our applications, but we will get a basic overview of how Elasticsearch works and how it can be useful for us.
To start, download the latest version of Elasticsearch from https://www.elastic.co/downloads/elasticsearch. You will need to have Java installed on your system to run Elasticsearch, so go ahead and install that as well if you don't already have it. You can get Java from https://java.com/en/download/. Once you have downloaded Elasticsearch, extract the files from the compressed archive into a folder, open a new terminal session, and cd
to this folder. Next, cd
into the bin
folder and run the following command:
> ./elasticsearch...