Package org.fao.geonet.kernel.search

Examples of org.fao.geonet.kernel.search.LuceneConfig.configure()


    ServiceConfig handlerConfig = gc.getBean(ServiceConfig.class);
    String luceneConfigXmlFile = handlerConfig
        .getMandatoryValue(Geonet.Config.LUCENE_CONFIG);

    LuceneConfig lc = context.getBean(LuceneConfig.class);
        lc.configure(luceneConfigXmlFile);

    Logger logger = context.getLogger();
    logger.info("  - Lucene configuration is:");
    String config = lc.toString();
    logger.info(config);
View Full Code Here


        String luceneTermsToExclude = "";
        luceneTermsToExclude = handlerConfig.getMandatoryValue(Geonet.Config.STAT_LUCENE_TERMS_EXCLUDE);

        LuceneConfig lc = _applicationContext.getBean(LuceneConfig.class);
        lc.configure(luceneConfigXmlFile);
        logger.info("  - Lucene configuration is:");
        logger.info(lc.toString());

        try {
            _applicationContext.getBean(DataStore.class);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.