- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for getExcludeUrlPatternList (0.56 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImplTest.java
assertEquals(0, urlFilter.cachedExcludeSet.size()); assertEquals(1, dataHelper.getIncludeUrlPatternList(sessionId).size()); assertEquals(0, dataHelper.getExcludeUrlPatternList(sessionId).size()); } public void test_addInclude2() { assertEquals(0, urlFilter.cachedIncludeSet.size()); assertEquals(0, urlFilter.cachedExcludeSet.size());
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/service/impl/UrlFilterServiceImpl.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 3.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java
} public synchronized void addExcludeUrlPattern(final String sessionId, final String url) { final List<Pattern> patternList = getExcludeUrlPatternList(sessionId); patternList.add(Pattern.compile(url)); } public List<Pattern> getExcludeUrlPatternList(final String sessionId) { List<Pattern> patternList = excludeUrlPatternMap.get(sessionId); if (patternList == null) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/UrlFilterService.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java
public boolean match(final String url) { final List<Pattern> includeList = getUrlFilterService().getIncludeUrlPatternList(sessionId); final List<Pattern> excludeList = getUrlFilterService().getExcludeUrlPatternList(sessionId); if (!includeList.isEmpty()) { boolean match = false; for (final Pattern pattern : includeList) { final Matcher matcher = pattern.matcher(url);
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-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java
} catch (final ExecutionException e) { throw new CrawlerSystemException(e); } } @Override public List<Pattern> getExcludeUrlPatternList(final String sessionId) { try { return excludeFilterCache.get(sessionId); } catch (final ExecutionException e) { throw new CrawlerSystemException(e); } }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 6.3K bytes - Viewed (0)