---
title: "Przemysław Witek (@przemekwitek) | Hashnode"
description: "Senior Software Engineer at Elastic. Read the latest articles by Przemysław Witek on Hashnode."
url: "https://hashnode.com/@przemekwitek"
---

@przemekwitek

# Przemysław Witek

@przemekwitek · Joined February 2021

Senior Software Engineer at Elastic

## Comments

[Hi, Recently we've implemented latest function for transforms which should allow you to replace pivot with latest and get rid of the scripts in your transform. Check out the overview here and the API example here Please note that this functionality is currently beta but it will change soon.](https://hashnode.com/posts/elasticsearch-top-hits-aggregation-with-transform/5fd8c7a98593851f31618315/comment/60222dcb7d860b3782e8ed96)

Comment · Article · Feb 9, 2021 · [Elasticsearch Top hits aggregation with transform](https://hashnode.com/posts/elasticsearch-top-hits-aggregation-with-transform/5fd8c7a98593851f31618315)
