-
Book Overview & Buying
-
Table Of Contents
The Definitive Guide to OpenSearch
By :
In this section, you’ll use the Docker setup detailed in Chapter 2 to provide an OpenSearch deployment to load and query sample movie data. You can download that dataset from the book’s GitHub repo: https://github.com/PacktPublishing/The-Definitive-guide-to-OpenSearch.
We’ve also built a Python helper script that can read the movies data file, and transform and send the data via OpenSearch’s _bulk API. You can find instructions on how to download the script and dataset and run the helper file to load the data into OpenSearch next.
First, you need the dataset and to load the script. Clone the repo locally:
git clone https://github.com/PacktPublishing/The-Definitive-guide-to-OpenSearch
This will bring the entire contents of the repo to your local environment. If you examine the contents, you’ll find a folder for each of the chapters. Change to the Chapter 5 directory (ch5):
cd The-Definitive-guide-to-OpenSearch...