for search(), results are now stored in 'keys' field