Added support for search relevance with Haystack search enabled