- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for setDefaultRule (0.07 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java
public void addRule(final String key, final Pattern pattern) { regexMap.put(key, pattern); } public boolean isDefaultRule() { return defaultRule; } public void setDefaultRule(final boolean defaultRule) { this.defaultRule = defaultRule; } public boolean isAllRequired() { return allRequired; } public void setAllRequired(final boolean allRequired) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 3.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImplTest.java
sitemapsRule.addRule("url", ".*sitemap.*"); ruleManager.addRule(sitemapsRule); RegexRule fileRule = container.getComponent("fileRule"); fileRule.setRuleId("fileRule"); fileRule.setDefaultRule(true); ruleManager.addRule(fileRule); } public void test_getRule() { final Rule rule = ruleManager.getRule(new ResponseData()); assertNotNull(rule);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
})// .<RegexRule> singleton("fileRule", RegexRule.class, rule -> { rule.setRuleId("fileRule"); rule.setDefaultRule(true); rule.setResponseProcessor(container.getComponent("defaultResponseProcessor")); }); crawler = container.getComponent("crawler");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 18K bytes - Viewed (0)