Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for WebConfig (0.14 sec)

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

    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.ParameterUtil;
    
    /**
     * @author FreeGen
     */
    public class WebConfig extends BsWebConfig implements CrawlingConfig {
    
        private static final long serialVersionUID = 1L;
    
        protected volatile Pattern[] includedDocUrlPatterns;
    
        protected volatile Pattern[] excludedDocUrlPatterns;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/bsbhv/BsWebConfigBhv.java

            return createOptionalEntity(doSelectByPK(id, tp), id);
        }
    
        @Override
        protected Class<? extends WebConfig> typeOfSelectedEntity() {
            return WebConfig.class;
        }
    
        @Override
        protected Class<WebConfig> typeOfHandlingEntity() {
            return WebConfig.class;
        }
    
        @Override
        protected Class<WebConfigCB> typeOfHandlingConditionBean() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                        webConfig = new WebConfig();
                        webConfig.setName("Default");
                        webConfig.setAvailable(true);
                        webConfig.setBoost(1.0f);
                        webConfig.setConfigParameter(StringUtil.EMPTY);
                        webConfig.setIntervalTime(1000);
                        webConfig.setNumOfThread(3);
                        webConfig.setSortOrder(1);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

                @Override
                public OptionalEntity<WebConfig> getWebConfig(final String id) {
                    final WebConfig webConfig = new WebConfig();
                    webConfig.setId(id);
                    if (id.endsWith("P")) {
                        webConfig.setConfigParameter("config.pipeline=wp");
                    }
                    return OptionalEntity.of(webConfig);
                }
    
                @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/RequestHeader.java

            return new org.codelibs.fess.crawler.client.http.RequestHeader(getName(), getValue());
        }
    
        public WebConfig getWebConfig() {
            if (webConfig == null) {
                final WebConfigService webConfigService = ComponentUtil.getComponent(WebConfigService.class);
                try {
                    webConfig = webConfigService.getWebConfig(getWebConfigId()).get();
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                        webConfig.getNumOfThread() != null ? webConfig.getNumOfThread() : Constants.DEFAULT_NUM_OF_THREAD_FOR_WEB;
                crawlerContext.setNumOfThread(numOfThread);
    
                // depth
                final int depth = webConfig.getDepth() != null ? webConfig.getDepth() : -1;
                crawlerContext.setMaxDepth(depth);
    
                // max count
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/WebConfigDbm.java

        {
            setupEpg(_epgMap, et -> ((WebConfig) et).getAvailable(), (et, vl) -> ((WebConfig) et).setAvailable(DfTypeUtil.toBoolean(vl)),
                    "available");
            setupEpg(_epgMap, et -> ((WebConfig) et).getBoost(), (et, vl) -> ((WebConfig) et).setBoost(DfTypeUtil.toFloat(vl)), "boost");
            setupEpg(_epgMap, et -> ((WebConfig) et).getConfigParameter(),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java

            });
    
            return asJson(new ApiUpdateResponse().id(webConfig.getId()).created(true).status(Status.OK).result());
        }
    
        // POST /api/admin/webconfig/setting
        @Execute
        public JsonResponse<ApiResult> post$setting(final EditBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.EDIT;
            final WebConfig webConfig = getWebConfig(body).map(entity -> {
                try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/WebConfigService.java

                return OptionalEntity.empty();
            }
            return OptionalEntity.of(list.get(0));
        }
    
        public void store(final WebConfig webConfig) {
            webConfig.setConfigParameter(ParameterUtil.encrypt(webConfig.getConfigParameter()));
            webConfigBhv.insertOrUpdate(webConfig, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/es/config/exentity/WebConfigTest.java

            WebConfig webConfig = new WebConfig();
            final String userAgent = "TestAgent";
            webConfig.setUserAgent(userAgent);
            webConfig.setConfigParameter("""
                    client.robotsTxtEnabled=false
                    """);
            CrawlerClientFactory crawlerClientFactory = webConfig.initializeClientFactory(() -> new CrawlerClientFactory() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top