mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 17:52:45 +08: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.