I guess it would be something like encrypting the index, then decrypt it on demand, just like you would decrypt individual messages on demand.
hashed-word => encrypted-list-of-msg-indices
something like that.
I guess it would be something like encrypting the index, then decrypt it on demand, just like you would decrypt individual messages on demand.