Wow. I’ve never been so impressed with a framework. Take a look at this guide to create a reverse index for search in Ruby on Rails. Here’s the basic idea:
- Install a gem
- Install a plugin
- Specify the fields for each model that should be indexed
- Call the find_by_contents method
Insane! I used Lucene with Timedex, and I can’t even begin to explain how much more work that was.
So rad!