Home / Companies / Aiven / Blog / Post Details
Content Deep Dive

Write search queries with Python and OpenSearch® to find delicious recipes

Blog post from Aiven

Post Details
Company
Date Published
Author
Laysa Uchoa
Word Count
1,426
Language
English
Hacker News Points
-
Summary

In this tutorial, learn how to use OpenSearch® to perform both simple and advanced searches on semi-structured recipe data, and from that produce the perfect menu. The author demonstrates how to find delicious recipes in a Pythonic way using a high-quality dataset from Epicurious containing over 20,000 full recipes, ratings, and nutrition information. They use Aiven's fully managed OpenSearch service to get their cluster up and running and provide a demo that contains all the code to connect, send data, and perform search queries. The tutorial covers various search techniques such as range function, match_phrase, slop parameter, and match function with "AND" operator.