- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for addExclude (0.08 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImplTest.java
assertTrue(urlFilter.match("http://test.com/a")); } public void test_match_exclude_case2() { urlFilter.addExclude("http://example.com/.*"); urlFilter.addExclude("http://test.com/.*"); final String sessionId = "id1"; urlFilter.init(sessionId); assertFalse(urlFilter.match("http://example.com/"));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java
protected String sessionId; protected UrlFilterService urlFilterService; /* * (non-Javadoc) * * @see org.codelibs.fess.crawler.filter.UrlFilter#addExclude(java.lang.String) */ @Override public void addExclude(final String urlPattern) { try { Pattern.compile(urlPattern); } catch (final Exception e) { if (logger.isWarnEnabled()) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 7.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/UrlFilter.java
* Add an url pattern as a target. * * @param urlPattern Regular expression that is crawled */ void addInclude(String urlPattern); /** * Add an url pattern as a non-target. * * @param urlPattern Regular expression that is not crawled */ void addExclude(String urlPattern); /** * Process an url when it's added as a seed url. * * @param url URL */
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java
} public void addIncludeFilter(final String regexp) { if (StringUtil.isNotBlank(regexp)) { urlFilter.addInclude(regexp); } } public void addExcludeFilter(final String regexp) { if (StringUtil.isNotBlank(regexp)) { urlFilter.addExclude(regexp); } } public void stop() { crawlerContext.setStatus(CrawlerStatus.DONE); try {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 7.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/ArtifactFilterManagerDelegate.java
import java.util.Set; /** * @deprecated use {@code META-INF/maven/extension.xml} to define artifacts exported by Maven core extensions. */ @Deprecated public interface ArtifactFilterManagerDelegate { void addExcludes(Set<String> excludes); void addCoreExcludes(Set<String> excludes);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java
*/ public ArtifactFilter getArtifactFilter() { Set<String> excludes = new LinkedHashSet<>(getExcludedArtifacts()); for (ArtifactFilterManagerDelegate delegate : delegates) { delegate.addExcludes(excludes); } return new ExclusionSetFilter(excludes); } /** * Returns the artifact filter for the standard core artifacts. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
crawler.addUrl(url); crawler.getCrawlerContext().setMaxAccessCount(maxCount); crawler.getCrawlerContext().setNumOfThread(numOfThread); crawler.urlFilter.addInclude(url + ".*"); final String sessionId = crawler.execute(); assertEquals(maxCount, dataService.getCount(sessionId)); dataService.delete(sessionId); } finally {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 7.7K bytes - Viewed (0)