search module works now but without proper ranking order