Search only searches for matching messages, but there is no way to see nearby messages in timeline.
When using search in chat history, the search only shows specific messages that match the search, but most of the time you are looking for messages that led up to or followed the message 'hit'. There is no workable way from chat search to see this other context, you have to look at date & time of hits and then scroll (forever) to the appropriate context. If either (a) you could click the time on the message and it took you to the message in the timeline, or (b) you could immediately see surrounding messages, it would be better. I seem to remember it working this way in the past, but maybe I'm thinking of a different app.