What is the best way in terms of performance (processor usage, memory, ease of use) of indexing documents in Elasticsearch, with logstash connecting via the jdbc driver to MySql or using a PHP script?
Approximately a million ads are entering the database.
Thank you very much in advance.