mirror of
https://github.com/discourse/discourse.git
synced 2025-03-02 17:29:25 +00:00
Since we are introducing new ways to search in Discourse, like the AI semantic search using embeddings, posts can be part of a search result list without having any search data. Since the code path already handles this, we only need to add a safety check when accessing the post_search_data.