Koha::SearchEngine::Indexer - instantiate the search object that corresponds to the SearchEngine
system preference.
This allows you to be agnostic about what the search engine configuration is and just get whatever indexer object you need.
use Koha::SearchEngine::Indexer; my $searcher = Koha::SearchEngine::Indexer->new({ index => Koha::SearchEngine::Index});
Creates a new Search
of whatever the relevant type is.