Let’s say you search for something that is in a folded section.
When hovering over the search result, you are shown the result in the preview window (all sections are shown unfolded in the preview window).
When clicking on the search result, nothing happens. You’re not even centered on the section.
There could be an option when clicking on a search result to unfold all headings/lists to reveal it. Maybe while having a key pressed.
Ideally, this would be a toggle. Clicking on the search result again reverts it to the initial state.