Making pagees and search work again without elasticsearch.