-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Description
A twitter river plugin that index twitter same stream. Here is how it gets created:
curl -XPUT 'localhost:9200/_river/my_river/_meta' -d '{
"type" : "twitter",
"twitter" : {
"user" : "twitter_user",
"password" : "twitter_password"
}
}'
The index it indexes data into is called by default the same as the river name, and the _type is status. Controlling it using:
curl -XPUT 'localhost:9200/_river/my_river/_meta' -d '{
"type" : "twitter",
"twitter" : {
"user" : "twitter_user",
"password" : "twitter_password"
},
"index" : {
"index" : "my_index_1",
"type" : "timeline"
}
}'
The indexing is done in bulking of 100 bulk items. Control it the bulk_size setting within index.
The twitter river is provided as a plugin, and will be installed using plugin -install river-twitter.