What are you truing to achieve? Do you want to stop the JDBC river from running? If so, try tunning:
curl -XDELETE 'localhost:9200/_river/my_update_river'
It should stop the river. If you than delete the updateauto index it will be no longer created.
--
Regards,
Rafał Kuć
Performance Monitoring * Log Analytics * Search Analytics
Solr & Elasticsearch Support * http://sematext.com/
localhost:9200/_river/my_update_river/_meta { "type" : "jdbc", "jdbc" : { "url" : "jdbc:mysql://localhost:3306/admin", "user" : "root", "password" : "", "poll" : "6s", "index" : "updateauto", "type" : "users", "schedule":"0/10 * * ? * *", "strategy" : "simple", "sql" : "select * from users" } } Here's my code and when i delete index it works for only 10seconds and when i refresh again it automatically created the index. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6faeb492-a60d-49ca-bbcf-1de118ed8a4e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. |
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1224941303.20150328095734%40alud.com.pl.
For more options, visit https://groups.google.com/d/optout.