Elasticsearch Indexer for Python can help you to add documents or database records from MySQL (MariaDB) via Python Version >= 3.6 to ES Index (Elasticsearch).
You can easy run this Python code as background process via a Cronjob or AWS Lambda .
Added a nice code sample for WebP on-demand support, this code deliver a better compressed WebP file instead of JPG or PNG, see http://hg.cr-solutions.net/
crVCL PHP Framework support now Elasticsearch and contain a easy migration, if you use currently Sphinxsearch, see http://hg.cr-solutions.net/
See also "es_indexer" for Python, this can help you to add documents or database entries from MySQL (MariaDB) via Python, more on Github: https://github.com/cr-solutions/es_indexer