I'm developing my own request handler and given a document primary key I would like to get it from the index. Which is the best and fastest way to do this? I will execute this request handler several times and this should work really fast. Sorry if it's a basic question.
Thanks! Jonathan