Package org.apache.stanbol.enhancer.engines.lucenefstlinking

Examples of org.apache.stanbol.enhancer.engines.lucenefstlinking.IndexConfiguration


            + "' from SolrServer "+server, core);
        yard = new SolrYard(server,config,null);
        //setup the index configuration
        LanguageConfiguration langConf = new LanguageConfiguration("not.used",
            new String[]{"en;field=dbpedia-ont:surfaceForm;generate=true"});
        fstConfig = new IndexConfiguration(langConf, core, FieldEncodingEnum.SolrYard);
        fstConfig.setExecutorService(Executors.newFixedThreadPool(1));
        fstConfig.setTypeField("rdf:type");
        fstConfig.setRankingField("entityhub:entityRank");
        //fstConfig.setEntityCacheManager(new FastLRUCacheManager(2048));
        //activate the FST config
View Full Code Here

TOP

Related Classes of org.apache.stanbol.enhancer.engines.lucenefstlinking.IndexConfiguration

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.