Tag Archives: mongoid

Mongoid and the MongoDB Aggregation Framework

MongoDB introduced the aggregation framework since Version 2.2 but the power of the aggregation framework has only been tapped in Mongoid only since 3.1.0. Even today in the latest version (currently v4.0.0), the aggregation framework is used only for some … Continue reading

Posted in MongoDB, Ruby | Tagged , , | 2 Comments

MongoDB text indexing in action

Recently, I had a good use-case to use MongoDB text-indexing and I gave it a shot. I found it to be pretty awesome – even though its not have full-fledged text-search engine capabilities (like facets etc.) it does the job … Continue reading

Posted in Ruby on Rails, Search | Tagged , , , | Leave a comment

Amazon EC2 and MongoDB configuration for great performance

Sometimes, we prefer using Amazon EC2 directly for our Rails stack. No offense ┬áto Heroku but we need a more controlled environment; and no offense to EngineYard as they don’t support MongoDB on their environment as yet. We were faced … Continue reading

Posted in MongoDB, Ruby | Tagged , , , | 4 Comments