Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for setRuleId (0.1 sec)

  1. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

            accessResult1.setMethod("GET");
            accessResult1.setMimeType("text/plain");
            accessResult1.setParentUrl("http://www.parent.com/");
            accessResult1.setRuleId("htmlRule");
            accessResult1.setSessionId("id1");
            accessResult1.setStatus(200);
            accessResult1.setUrl("http://www.id1.com/");
    
            dataService.store(accessResult1);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImplTest.java

            SitemapsRule sitemapsRule = container.getComponent("sitemapsRule");
            sitemapsRule.setRuleId("sitemapsRule");
            sitemapsRule.addRule("url", ".*sitemap.*");
            ruleManager.addRule(sitemapsRule);
    
            RegexRule fileRule = container.getComponent("fileRule");
            fileRule.setRuleId("fileRule");
            fileRule.setDefaultRule(true);
            ruleManager.addRule(fileRule);
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResult.java

        IDTYPE getId();
    
        void setId(IDTYPE id);
    
        String getSessionId();
    
        void setSessionId(String sessionId);
    
        String getRuleId();
    
        void setRuleId(String ruleId);
    
        String getUrl();
    
        void setUrl(String url);
    
        String getParentUrl();
    
        void setParentUrl(String parentUrl);
    
        Integer getStatus();
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/AbstractRule.java

            ruleManager.addRule(index, this);
        }
    
        @Override
        public String getRuleId() {
            return ruleId;
        }
    
        public void setRuleId(final String ruleId) {
            this.ruleId = ruleId;
        }
    
        @Override
        public ResponseProcessor getResponseProcessor() {
            return responseProcessor;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/DataServiceImplTest.java

            accessResult1.setMethod("GET");
            accessResult1.setMimeType("text/plain");
            accessResult1.setParentUrl("http://www.parent.com/");
            accessResult1.setRuleId("htmlRule");
            accessResult1.setSessionId("id1");
            accessResult1.setStatus(200);
            accessResult1.setUrl("http://www.id1.com/");
    
            dataService.store(accessResult1);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java

        public String getRuleId() {
            return ruleId;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.AccessResult#setRuleId(java.lang.String)
         */
        @Override
        public void setRuleId(final String ruleId) {
            this.ruleId = ruleId;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.AccessResult#getUrl()
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                    .<SitemapsRule> singleton("sitemapsRule", SitemapsRule.class, rule -> {
                        rule.setResponseProcessor(container.getComponent("sitemapsResponseProcessor"));
                        rule.setRuleId("sitemapsRule");
                        rule.addRule("url", ".*sitemap.*");
                    })//
                    .<DefaultResponseProcessor> singleton("defaultResponseProcessor", DefaultResponseProcessor.class, processor -> {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

        }
    
        public void setParentUrl(final String parentUrl) {
            this.parentUrl = parentUrl;
        }
    
        public String getRuleId() {
            return ruleId;
        }
    
        public void setRuleId(final String ruleId) {
            this.ruleId = ruleId;
        }
    
        public String getSessionId() {
            return sessionId;
        }
    
        public void setSessionId(final String sessionId) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                        target.setExecutionTime(getFieldValue(fields.get("executionTime"), Integer.class));
                        target.setContentLength(getFieldValue(fields.get("contentLength"), Long.class));
                        target.setRuleId(getFieldValue(fields.get("ruleId"), String.class));
                        target.setHttpStatusCode(getFieldValue(fields.get("httpStatusCode"), Integer.class));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                final Rule rule = ruleManager.getRule(responseData);
                if (rule == null) {
                    throw new CrawlingAccessException("No url rule for " + url);
                }
                responseData.setRuleId(rule.getRuleId());
                final ResponseProcessor responseProcessor = rule.getResponseProcessor();
                if (!(responseProcessor instanceof DefaultResponseProcessor)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top