Split search function from finder