Most recent entities

Most recent entities uses Elasticsearch terms aggregation to group your documents by entity. Then, top hits metric aggregation accumulates the most recent documents for each entry.

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:

  1. 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.
  2. Set Documents per entity to configure the maximum number of documents accumulated per entity.