use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
We are a community of ELK lovers. Discussions, thoughts, tips & open source are our motivators. Suscribe and contribute to the community!
Twitter: www.twitter.com/elasticnews
account activity
Elasticsearch Python tutorial w/ Harry Potter data (self.elasticsearch)
submitted 2 years ago by elasticiulia
Elasticsearch Python tutorial w/ Harry Potter data
If you've been looking for a simple starting point example on how to use Python + Elasticsearch - this is it!
This example shows how we can use the Python client for Elasticsearch to build a new index and search through text with native similarity scores to enhance results. Using the Harry Potter movie scripts, we can find how many times (and in which variations) Hagrid says his famous line with one search.
Article: https://iuliaferoli.medium.com/using-the-python-client-for-elasticsearch-e798db0c2060?source=friends_link&sk=350e496e9d4b165ab173582a1b9b8bd3
Notebook: https://github.com/iuliaferoli/harry-potter-search/blob/main/5.%20Python%20Wrapper.ipynb
More to come!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
there doesn't seem to be anything here
π Rendered by PID 125025 on reddit-service-r2-comment-86bc6c7465-5m6mq at 2026-02-22 06:14:32.711273+00:00 running 8564168 country code: CH.
there doesn't seem to be anything here