elasticsearch/elasticsearch-river-twitter — pull request #19 by jverelst (2013-03-19 13:22:02+00:00)
Title: Update twitter4j & added extra fields

Hi, I've made several changes, which would be great to have in base:

1) Update of twitter4j
This library is currently on a new major version, 3.0, but upgrading required some code changes. Those are attached. Biggest change is the removal of annotations (see: http://twitter4j.org/oldjavadocs/2.2.4/twitter4j/Annotations.html)

2) adding 'profile pictures'
When you want to use the indexed tweets to create a widget, you usually also want to show the avatar next to the tweet. For this you need 'profile_image_url' (and a https version)

3) Adding 'retweets'
When connecting to the twitter stream, you get much more information than is currently indexed by this river. It would be nice to have this configurable, but adding retweet-information to the basics sounds very logical to me, since mentions and hashtags are also stored.