added missing database requirement to the search class