elasticsearch/elasticsearch-river-twitter — Issue #10: Deleting/Creating a river does not close/open the stream.
Author: phillro
Created: 2012-03-10 04:33:59+00:00
State: open

Using 0.19.0 and river-twitter 1.10

I create a river using:

curl -XPUT http://localhost:9200/_river/ma_twitter_river/_meta -d '
{
"type": "twitter",
"twitter": {
"oauth": {
"consumer_key": "******",
"consumer_secret": "*******",
"access_token": "****",
"access_token_secret": "******"
},
"filter" : {
"tracks" : "baseball"
}
},
"index": {
"index": "ma1",
"type": "status",
"bulk_size": 10
}
}'

let it run, then delete it with:
curl -XDELETE http://localhost:9200/_river/ma_twitter_river/_meta

However it does not close, and new documents continue to be added. Additionally when creating a new stream requires restarting the node for the connection.