---
title: "top hits · RUAL Documentation"
description: "Retrieves the top hits based on specified criteria."
canonical: https://docs.rual.nl/block-types/aggregation/aggregation_type_top_hits
language: en
---

# top hits

This block is part of the [`aggregation`](https://docs.rual.nl/block-types/aggregation) group and was last modified in core [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

Retrieves the top hits based on specified criteria.

- Size required `number`

- From required `number`

- Sort field `sort_field` required `value`

- A-Z / 1-9 `asc` required `condition`

- Z-A / 9-1 `desc` required `condition`

- aggregation `aggregation`

### Core Releases
