Package org.apache.stanbol.entityhub.indexing.destination.solryard.fst

Examples of org.apache.stanbol.entityhub.indexing.destination.solryard.fst.CorpusCreationTask


            List<Future<?>> fstCreationTasks = new ArrayList<Future<?>>();
            ExecutorService es = Executors.newFixedThreadPool(fstThreads);
            log.info(" ... build FST models ");
            for(FstConfig config : fstConfigs){
                for(final CorpusCreationInfo corpus : config.getCorpusCreationInfos()){
                    fstCreationTasks.add(es.submit(new CorpusCreationTask(core, corpus)));
                }
            }
            //now wait for the completion of the tasks
            Iterator<Future<?>> taskIt = fstCreationTasks.iterator();
            while(taskIt.hasNext()){
View Full Code Here

TOP

Related Classes of org.apache.stanbol.entityhub.indexing.destination.solryard.fst.CorpusCreationTask

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.