mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 07:06:26 +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.