Well, I’m not aware of any API function like $modx->selectDocumentByTvValue(), that would of course be ideal here.
The alternative would be to use 2-3 mySQL queries to get the same information.
If you’re concerned about performance, add this at the end of your modx-template/document:
MySQL: [^qt^], [^q^] request(s), PHP: [^p^], total: [^t^], document retrieved from [^s^].
It’s a good way to spot bottlenecks.
Are you from the indian sub-continent?? I’m going to Kerela for a month in a couple of weeks.
Nope, in fact I’m from Switzerland. But I’ve been to India a couple of times. It just so happens that Ganesh is my favorite Hindu God

Enjoy your trip to Kerala. It’s beautiful.