@PDostiyar have you found any solution for this?
Having the same issue as you described on Teams web. Just finding chats and people but not showing any chat messages in the results. Search works fine in the Teams desktop and mobile apps.
Tried on different computers and browsers with the same Teams account, resulting in the same behavior.