Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for CrawlingConfigHelper (0.25 sec)

  1. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

    import com.google.common.cache.Cache;
    import com.google.common.cache.CacheBuilder;
    
    import jakarta.annotation.PostConstruct;
    
    public class CrawlingConfigHelper {
    
        private static final Logger logger = LogManager.getLogger(CrawlingConfigHelper.class);
    
        protected final Map<String, CrawlingConfig> crawlingConfigMap = new ConcurrentHashMap<>();
    
        protected int count = 1;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

        public void test_getConfigType() {
            assertNull(crawlingConfigHelper.getConfigType(null));
            assertNull(crawlingConfigHelper.getConfigType(""));
            assertNull(crawlingConfigHelper.getConfigType("XXX"));
            assertNull(crawlingConfigHelper.getConfigType("W"));
            assertNull(crawlingConfigHelper.getConfigType("F"));
            assertNull(crawlingConfigHelper.getConfigType("D"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

            }
        }
    
        @Override
        protected CrawlerClient getClient(final String url) {
            final CrawlingConfigHelper crawlingConfigHelper = ComponentUtil.getCrawlingConfigHelper();
            final CrawlingConfig crawlingConfig = crawlingConfigHelper.get(crawlerContext.getSessionId());
            final Map<String, String> clientConfigMap = crawlingConfig.getConfigParameterMap(ConfigName.CLIENT);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            return getComponent(SEARCH_LOG_HELPER);
        }
    
        public static CrawlingConfigHelper getCrawlingConfigHelper() {
            if (crawlingConfigHelper == null || HotdeployUtil.isHotdeploy()) {
                crawlingConfigHelper = getComponent(CRAWLING_CONFIG_HELPER);
            }
            return crawlingConfigHelper;
        }
    
        public static CrawlingInfoHelper getCrawlingInfoHelper() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:35:51 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

                });
            }
    
            final CrawlingConfigHelper crawlingConfigHelper = ComponentUtil.getCrawlingConfigHelper();
            final BulkResponse response = searchEngineClient.addAll(fessConfig.getIndexDocumentUpdateIndex(), docList, (doc, builder) -> {
                if (doc.get(fessConfig.getIndexFieldConfigId()) instanceof final String configId) {
                    crawlingConfigHelper.getPipeline(configId).ifPresent(s -> builder.setPipeline(s));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

        //                                                                           Attribute
        //                                                                           =========
        @Resource
        protected CrawlingConfigHelper crawlingConfigHelper;
    
        // ===================================================================================
        //                                                                        Small Helper
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

        protected boolean process(final String id, final Predicate<ResponseData> consumer) {
            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);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

        }
    
        protected Map<String, String> getConfigPrameterMap(final ResponseData responseData, final ConfigName config) {
            final CrawlingConfigHelper crawlingConfigHelper = ComponentUtil.getCrawlingConfigHelper();
            final CrawlingConfig crawlingConfig = crawlingConfigHelper.get(responseData.getSessionId());
            return crawlingConfig.getConfigParameterMap(config);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

            ComponentUtil.register(new ThumbnailManager(), "thumbnailManager");
            final CrawlingConfigHelper crawlingConfigHelper = new CrawlingConfigHelper();
            crawlingConfigHelper.init();
            ComponentUtil.register(crawlingConfigHelper, "crawlingConfigHelper");
            ComponentUtil.register(new WebConfigService() {
                @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 08:54:24 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

            RenderDataUtil.register(data, "webAuthenticationItems", webAuthenticationService.getWebAuthenticationList(webAuthPager)); // page navi
            RenderDataUtil.register(data, "displayCreateLink", !crawlingConfigHelper.getAllWebConfigList(false, false, false, null).isEmpty());
            // restore from pager
            copyBeanToBean(webAuthPager, form, op -> op.include("id"));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top