* @param sourceIndexManager
* @throws java.io.IOException
*/
private IndexEnricher(LuceneManager sourceIndexManager, LuceneManager targetIndexManager, IndexingConfiguration config) throws IOException {
super(targetIndexManager, true); //ATTENTION: if this is set to true, it will override the existing index!
searcher = new MergedOccurrencesContextSearcher(sourceIndexManager);
mAnalyzer = config.getAnalyzer();
LOG.info("Analyzer class: "+mAnalyzer.getClass());
}