default sample search functionality