Package org.dbpedia.spotlight.lucene.search

Examples of org.dbpedia.spotlight.lucene.search.MergedOccurrencesContextSearcher


     * @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());
    }
View Full Code Here

TOP

Related Classes of org.dbpedia.spotlight.lucene.search.MergedOccurrencesContextSearcher

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.