Searching in spark