Webinar recap: Building Search Functionality With Python, Flask, and Elasticsearch
In this webinar, Aravind covered the following topics step by step in a Github branch.
- Building a basic Python Flask application. (1-basic-flask-app)
- TailwindCSS to build a beautiful search experience (2-add-tailwindcss)
- Working with elasticsearch-py and elasticsearch-dsl libraries (3-add-elasticsearch)
- Working with Elastic App Search client library (4-add-appsearch)
- Shipping logs, traces from the flask app (5-apm-logs)
- Building a Docker container (6-deploy)
Questions from the session:
- What are the ways to build a search experience using Elasticsearch with the existing RDBMS data?
- By using the logstash plugin (input-jdbc-plugin), you can connect to any RDBMS data and effectively sync the data to elasticsearch. You can also do incremental data fetching.
- By using the client libraries, like elasticsearch-py, Java high-level REST clients directly ship the data to elasticsearch directly from the application.
- Can we use Elasticsearch like an RDBMS?
A: There are two primary ways: Using Logstash plugin – logstash-input-jdbc or Using the client libraries.
A: Yes, with some caveats. There are several organizations that use Elasticsearch as their primary data store. But, please note that you need to have a disaster recovery strategy for the data stored in the cluster. You might want to snapshot your data to an object store like S3 or GCS.
Subscribe to Blog updates
Livestream: “Python, Django, PyCharm, and More”
Join us for the new PyCharm Livestream episode to learn about everything new in the world of Python on January 25 at 4:00 pm UTC.
How to Connect Django With MongoDB
Learn how to use Django and MongoDB together to create a web application in PyCharm. Follow our step-by-step tutorial to connect MongoDB with Django.
Django vs FastAPI: Which is the Best Python Web Framework?
Introduction If you’re new to web development and have only recently heard of “Frameworks” as a method of speeding up your application development, then you’re in the right place. Today, we’ll explore the two most popular web frameworks in the Python ecosystem currently, namely Django and FastAPI…
PyCharm 2023.3: Feature Spotlight for Django Developers
PyCharm 2023.3 introduces a plethora of features for Django development: Django Structure tool window, Live preview for Django templates, enhancements in code assistance for the Django REST framework, and more! This release is poised to enhance the productivity of developers working with Django. Let…