search: Remove intermediate allocation (#45633)

Release Notes:

- N/A

---------

Signed-off-by: Marco Mihai Condrache <52580954+marcocondrache@users.noreply.github.com>
f03987fb68Marco Mihai Condrache committed on 12/25/2025, 7:29:17 PM· committed by GitHubparentca47822
1 file changedLine totals unavailable