I have an index composed of the same objects (documents). For simplicity, let's just say each object has three fields:
The recordLocator field may be common to several documents. However, the timestamp will be different.
I would like to return the newest document (sorting by timestamp) for each distinct recordLocator. How can this be accomplished?