public void register ( SearchManager searchManager , SearchManager parentSearchManager , QueryHandler handler , QueryHandler parentHandler ) throws RepositoryConfigurationException { indexers . put ( searchManager . getWsId ( ) , new Indexer ( searchManager , parentSearchManager , handler , parentHandler ) ) ; if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "Register " + searchManager . getWsId ( ) + " " + this + " in " + indexers ) ; } }
This method will register a new Indexer according to the given parameters .