diff --git a/docs/java-api/aggregations/metrics/tophits-aggregation.asciidoc b/docs/java-api/aggregations/metrics/tophits-aggregation.asciidoc index f562ca1ec2b..09c68709c6d 100644 --- a/docs/java-api/aggregations/metrics/tophits-aggregation.asciidoc +++ b/docs/java-api/aggregations/metrics/tophits-aggregation.asciidoc @@ -2,7 +2,7 @@ ==== Top Hits Aggregation Here is how you can use -{ref}/search-aggregations-metrics-tophits-aggregation.html[Top Hits Aggregation] +{ref}/search-aggregations-metrics-top-hits-aggregation.html[Top Hits Aggregation] with Java API.