Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for initializeClientFactory (0.26 sec)

  1. src/main/java/org/codelibs/fess/es/config/exentity/CrawlingConfigWrapper.java

        @Override
        public Integer getTimeToLive() {
            return crawlingConfig.getTimeToLive();
        }
    
        @Override
        public CrawlerClientFactory initializeClientFactory(final Supplier<CrawlerClientFactory> creator) {
            return crawlingConfig.initializeClientFactory(creator);
        }
    
        @Override
        public Map<String, String> getConfigParameterMap(final ConfigName name) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/exentity/CrawlingConfig.java

        String[] getVirtualHosts();
    
        String getDocumentBoost();
    
        String getIndexingTarget(String input);
    
        String getConfigId();
    
        Integer getTimeToLive();
    
        CrawlerClientFactory initializeClientFactory(Supplier<CrawlerClientFactory> creator);
    
        Map<String, String> getConfigParameterMap(ConfigName name);
    
        default void initializeDefaultHttpProxy(final Map<String, Object> paramMap) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/es/config/exentity/WebConfigTest.java

            WebConfig webConfig = new WebConfig();
            webConfig.setUserAgent(Constants.CRAWLING_USER_AGENT_PREFIX + "1.0" + Constants.CRAWLING_USER_AGENT_SUFFIX);
            CrawlerClientFactory crawlerClientFactory = webConfig.initializeClientFactory(() -> new CrawlerClientFactory() {
                public void setInitParameterMap(final Map<String, Object> params) {
                    initParamMapSet.set(params);
                }
            });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                final long maxCount = webConfig.getMaxAccessCount() != null ? webConfig.getMaxAccessCount() : maxAccessCount;
                crawlerContext.setMaxAccessCount(maxCount);
    
                webConfig.initializeClientFactory(() -> crawler.getClientFactory());
                final Map<String, String> configParamMap = webConfig.getConfigParameterMap(ConfigName.CONFIG);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/FileConfig.java

            }
        }
    
        @Override
        public String getConfigId() {
            return ConfigType.FILE.getConfigId(getId());
        }
    
        @Override
        public CrawlerClientFactory initializeClientFactory(final Supplier<CrawlerClientFactory> creator) {
            if (crawlerClientFactory != null) {
                return crawlerClientFactory;
            }
            final CrawlerClientFactory factory = creator.get();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                if (logger.isInfoEnabled()) {
                    logger.info("Generating Thumbnail: {}", url);
                }
    
                final CrawlerClientFactory crawlerClientFactory =
                        config.initializeClientFactory(() -> ComponentUtil.getComponent(CrawlerClientFactory.class));
                final CrawlerClient client = crawlerClientFactory.getClient(url);
                if (client == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java

            }
        }
    
        @Override
        public String getConfigId() {
            return ConfigType.WEB.getConfigId(getId());
        }
    
        @Override
        public CrawlerClientFactory initializeClientFactory(final Supplier<CrawlerClientFactory> creator) {
            if (crawlerClientFactory != null) {
                return crawlerClientFactory;
            }
            final CrawlerClientFactory factory = creator.get();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            if (StringUtil.isBlank(crawlingInfoId)) {
                throw new CrawlingAccessException("sessionId is null.");
            }
    
            final CrawlerClientFactory crawlerClientFactory = crawlingConfig.initializeClientFactory(ComponentUtil::getCrawlerClientFactory);
            final CrawlerClient client = crawlerClientFactory.getClient(url);
            if (client == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java

                handlerScriptMap = ParameterUtil.parse(getHandlerScript());
            }
            return handlerScriptMap;
        }
    
        @Override
        public CrawlerClientFactory initializeClientFactory(final Supplier<CrawlerClientFactory> creator) {
            if (crawlerClientFactory != null) {
                return crawlerClientFactory;
            }
            final CrawlerClientFactory factory = creator.get();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            }
            final String url = DocumentUtil.getValue(doc, fessConfig.getIndexFieldUrl(), String.class);
            final CrawlerClientFactory crawlerClientFactory =
                    config.initializeClientFactory(() -> ComponentUtil.getComponent(CrawlerClientFactory.class));
            final CrawlerClient client = crawlerClientFactory.getClient(url);
            if (client == null) {
    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