Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getCrawlingConfig (0.13 sec)

  1. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

            crawlingConfigHelper.refresh();
            assertNull(crawlingConfigHelper.getCrawlingConfig(null));
            assertNull(crawlingConfigHelper.getCrawlingConfig(""));
            assertNull(crawlingConfigHelper.getCrawlingConfig("XXX"));
            final CrawlingConfig webConfig = crawlingConfigHelper.getCrawlingConfig("W01");
            assertEquals("01", webConfig.getId());
            assertTrue(webConfig instanceof WebConfig);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

            final CrawlingConfig crawlingConfig = getCrawlingConfig(crawlerContext.getSessionId());
            final String url = urlQueue.getUrl();
    
            final FailureUrlService failureUrlService = ComponentUtil.getComponent(FailureUrlService.class);
            return failureUrlService.store(crawlingConfig, errorName, url, e);
        }
    
        protected CrawlingConfig getCrawlingConfig(final String sessionCountId) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

            if (configId == null || configId.length() < 2) {
                return null;
            }
            return configId.substring(1);
        }
    
        public CrawlingConfig getCrawlingConfig(final String configId) {
            try {
                return crawlingConfigCache.get(configId, () -> {
                    final ConfigType configType = getConfigType(configId);
                    if (configType == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                        Node value = getXPathAPI().selectSingleNode(document, entry.getValue());
                        if (value != null && isPruned != null && isPruned.booleanValue()) {
                            value = pruneNode(value, getCrawlingConfig(responseData));
                        }
                        putResultDataBody(dataMap, entry.getKey(), value != null ? value.getTextContent() : null);
                        break;
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

            return process(id, (configId, url) -> {
                final CrawlingConfigHelper crawlingConfigHelper = ComponentUtil.getCrawlingConfigHelper();
                final CrawlingConfig config = crawlingConfigHelper.getCrawlingConfig(configId);
                if (config == null) {
                    throw new ThumbnailGenerationException("No CrawlingConfig: " + configId);
                }
    
                if (logger.isInfoEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            }
            if (configId.length() < 2) {
                throw new FessSystemException("Invalid configId: " + configId);
            }
            final CrawlingConfig config = crawlingConfigHelper.getCrawlingConfig(configId);
            if (config == null) {
                throw new FessSystemException("No crawlingConfig: " + configId);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
Back to top