Technical requirements
This chapter explores various aspects of building search functionality for your data. The examples require access to an Elasticsearch cluster running on your local machine to follow along.
The code for this chapter can be found on the GitHub repository for the book:
https://github.com/PacktPublishing/Getting-Started-with-Elastic-Stack-8.0/tree/main/Chapter10
The chapter uses a collection of recipes scraped from the internet to illustrate the search functionality we are implementing. Navigate to Chapter10/dataset
in the code repository for this book and follow the instructions to load the dataset as shown:
- The following file is provided in the folder:
recipe-template.json
contains an Elasticsearch index template for the given dataset, detailing the schema/mappings for the fields in the dataset.
- Load the index template provided by running
load.sh
. Enter your Elasticsearch cluster URL, username, and password when prompted:./load.sh...