Improved indexing of user contents query