I am using MongoDB 1.6.3, to store a big collection (300k+ records). I added a composite index.
db[\'collection_name
Try adding {community_id: 1, 'updated_at.t': -1} index. It needs to search by community_id first and then sort.
{community_id: 1, 'updated_at.t': -1}
community_id