Adding in snippet search functionality