Ranking results by relevance is currently only supported on wikis that use the ElasticSearch backend.