/**
  * Get an initialised searcher for the store and transaction Normally we do not search against a a
  * store and delta. Currently only gets the searcher against the main index.
  *
  * @param storeRef StoreRef
  * @param indexer LuceneIndexer
  * @param config LuceneConfig
  * @return - the searcher implementation
  */
 public static ADMLuceneSearcherImpl getSearcher(
     StoreRef storeRef, LuceneIndexer indexer, LuceneConfig config) {
   ADMLuceneSearcherImpl searcher = new ADMLuceneSearcherImpl();
   searcher.setLuceneConfig(config);
   try {
     searcher.initialise(storeRef, indexer == null ? null : indexer.getDeltaId());
     searcher.indexer = indexer;
   } catch (LuceneIndexException e) {
     throw new SearcherException(e);
   }
   return searcher;
 }
 @Override
 protected LuceneSearcher getSearcher(StoreRef storeRef, LuceneIndexer indexer)
     throws SearcherException {
   // TODO: Store overlays
   ADMLuceneSearcherImpl searcher = ADMLuceneSearcherImpl.getSearcher(storeRef, indexer, this);
   searcher.setNamespacePrefixResolver(nameSpaceService);
   // searcher.setLuceneIndexLock(luceneIndexLock);
   searcher.setNodeService(nodeService);
   searcher.setTenantService(tenantService);
   searcher.setDictionaryService(dictionaryService);
   searcher.setQueryRegister(getQueryRegister());
   searcher.setDictionaryService(dictionaryService);
   searcher.setQueryLanguages(getQueryLanguages());
   return searcher;
 }