use ack to do search