we need this in case the search engine is set to :sunspot on a development machine.