Search refractoring getting started