> I was thinking about something like this (correct me if this is a > stupid way of doing it):
As I said above, all the hackish solutions that try to do something like a full-text search implementation, require much more effort than couchdb-lucene, which can do all that you want (and some more). It's fast, it can sort in whatever way you want, it can do fuzzy (partial or wrong words) search etc.
