elasticsearch-jdbc
elasticsearch-jdbc copied to clipboard
Sync delete data
When I delete the data in the database, can I delete the data in the es? Schedule can only add to the database of new data, the database has been deleted in the ES will not be deleted, I would ask what the solution?
If data is deleted, and you want the new data indexed, the best method is to create a new index, push all data to it, and then drop old index.
Current version of JDBC importer does not maintain state between runs, and it does not manage Elasticsearch index creating/dropping.
@jprante Thank you for your reply,One more question,I don't understand the difference between schedule, interval, and flush_interval,can you Give an example to explain,thanks