I was afraid of the sorting issue with that approach. I think that's what I'll have to do though because we're using IrisCouch so I don't think I can use Lucene.