Package org.codelibs.elasticsearch.web.config

Examples of org.codelibs.elasticsearch.web.config.ScrapingRule


    }

    @Override
    protected void updateCharset(final ResponseData responseData) {
        int preloadSize = preloadSizeForCharset;
        final ScrapingRule scrapingRule = riverConfig
                .getScrapingRule(responseData);
        if (scrapingRule != null) {
            final Integer s = scrapingRule.getSetting("preloadSizeForCharset",
                    Integer.valueOf(0));
            if (s.intValue() > 0) {
                preloadSize = s.intValue();
            }
        }
View Full Code Here


    }

    @Override
    protected void storeData(final ResponseData responseData,
            final ResultData resultData) {
        final ScrapingRule scrapingRule = riverConfig
                .getScrapingRule(responseData);
        if (scrapingRule == null) {
            logger.info("No scraping rule.");
            return;
        }
View Full Code Here

TOP

Related Classes of org.codelibs.elasticsearch.web.config.ScrapingRule

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.