Most recent entities is available for vector layers with Documents source. To enable most recent entities, click "Show most recent documents by entity" and configure the following:
- Set Entity to the field that identifies entities in your documents. This field will be used in the terms aggregation to group your documents into entity buckets.
- Set Time to the date field that puts your documents in chronological order. This field will be used to sort your documents in the top hits aggregation.
- Set Documents per entity to configure the maximum number of documents accumulated per entity.