added query engine choice to grasp.search,.replace