JaredHawkins / TweetGeoViz

Visualization tool to view tweets by location and content.
Apache License 2.0
25 stars 16 forks source link

Popup toaster always shows "Found 1000 tweets" for data > 1000 #92

Closed anvk closed 8 years ago

anvk commented 8 years ago

Not sure why but the number of tweets returned from the database always precise from 0..1000. On the other hand it always reports 1000 for any number > 1000.

anvk commented 8 years ago

Fixed by installing a newer version of MongoDB 3.2.7 since older versions have a default cursor batch size of 1000. (http://stackoverflow.com/a/12643473/812519) A fix is in updated document in upcoming 0.6.0 version.

Also thanks to @carloscarcamo update README with a better compound MongoDB index.