http://www.postgresql.org/docs/9.1/static/hstore.html#AEN133...
It's more expensive to update than a more selective index, of course, but for the ultimate in "do what I mean" optimization, this is it.
Unfortunately, I don't know if ORMs generate the right kind of SQL to use those indexes, yet, but I don't see why they couldn't.
http://www.postgresql.org/docs/9.1/static/hstore.html#AEN133...
It's more expensive to update than a more selective index, of course, but for the ultimate in "do what I mean" optimization, this is it.
Unfortunately, I don't know if ORMs generate the right kind of SQL to use those indexes, yet, but I don't see why they couldn't.