Automatically syncing ElasticSearch with SQL
问题 I've ran this query and it worked well. curl -XPUT 'localhost:9200/_river/my_jdbc_river/_meta' -d '{ "type" : "jdbc", "jdbc" : { "url" : "jdbc:mysql://localhost:3306/test", "user" : "myaccount", "password" : "myaccount", "sql" : "select * from orders" } }' Everything seems to be indexed. However, when I changed a data from the Orders Table, the changes did not reflect the document in ElasticSearch. Is it possible to automatically sync updated/changed data? 回答1: You need to add another