IMO it sound better as `MessageDocument` in terms of MongoDB.
There should indexes in this collection: `mongoTemplate.indexOps(this.collectionName)...`