Searching in Samples