Re:Things I wish I knew about MongoDB a year ago
by ismarc on Wednesday October 17, 2012 @09:44PM
(#4667136)
In postgres, you can index on a stored procedure, so you can use a simple stored procedure written in JavaScript to look up by key and return values, etc. Example available at http://people.planetpostgresql.org/andrew/index.php?/archive...
You can apply full text search on it, but that doesn't tell you if you're matching on a key or a value.