Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getClientRuleList (0.07 sec)

  1. src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java

            List<Pair<String, Pattern>> list = crawlerThread.getClientRuleList(null);
            assertEquals(0, list.size());
    
            list = crawlerThread.getClientRuleList("");
            assertEquals(0, list.size());
    
            list = crawlerThread.getClientRuleList(" ");
            assertEquals(0, list.size());
    
            list = crawlerThread.getClientRuleList("playwright:http://.*");
            assertEquals(1, list.size());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

            final Map<String, String> clientConfigMap = crawlingConfig.getConfigParameterMap(ConfigName.CLIENT);
            final String value = clientConfigMap.get(CRAWLER_CLIENTS);
            final CrawlerClient client = getClientRuleList(value).stream().map(e -> {
                if (e.getSecond().matcher(url).matches()) {
                    return e.getFirst();
                }
                return null;
            }).filter(StringUtil::isNotBlank).findFirst()//
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top