I'm new to Elasticsearch and have a very rough understanding of how it works, so I'm not even sure if it's right for me. Does anyone know how to establish a live feed from my MySQL database to Elasticsearch (currently served on their cloud system)? My database has many tables with relationships so I'm not sure how to incorporate the relationships in Elasticsearch either...
I essentially want users to be able to search through all the data we have in our database with ease and flexibility. Is Elasticsearch even the right tool for this kind of thing?
I'm using Graphql and Express for the backend, and React for the frontend (not that it really matters)
Basically, I'd recommend modifying the application layer if possible and send data to elasticsearch in the same "transaction" as you are sending your data to the database.
Thank you so much, this was very helpful! I didn't realize that I'd have to implement the database synchronization myself; I thought there was a plugin for that, so I guess that's where the confusion was coming from.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.