Use search to get datasets, as it is significantly faster

Getting stuff from the search index is much faster than querying the DB