Fixed missing search hub usage in the index method.