Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getIncludeUrlPatternList (0.42 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImplTest.java

            urlFilter.init(sessionId);
            assertEquals(0, urlFilter.cachedIncludeSet.size());
            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());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlFilterServiceImpl.java

        /*
         * (non-Javadoc)
         *
         * @see
         * org.codelibs.fess.crawler.service.impl.UrlFilterService#getIncludeUrlPatternList
         * (java.lang.String)
         */
        @Override
        public List<Pattern> getIncludeUrlPatternList(final String sessionId) {
            return dataHelper.getIncludeUrlPatternList(sessionId);
        }
    
        /*
         * (non-Javadoc)
         *
         * @see
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java

        }
    
        public synchronized void addIncludeUrlPattern(final String sessionId, final String url) {
            final List<Pattern> patternList = getIncludeUrlPatternList(sessionId);
            patternList.add(Pattern.compile(url));
        }
    
        public List<Pattern> getIncludeUrlPatternList(final String sessionId) {
            List<Pattern> patternList = includeUrlPatternMap.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)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/UrlFilterService.java

        void addExcludeUrlFilter(String sessionId, List<String> urlList);
    
        void delete(String sessionId);
    
        void deleteAll();
    
        List<Pattern> getIncludeUrlPatternList(String sessionId);
    
        List<Pattern> getExcludeUrlPatternList(String sessionId);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java

         * @see org.codelibs.fess.crawler.filter.UrlFilter#match(java.lang.String)
         */
        @Override
        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;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

            deleteBySessionId(sessionId);
            includeFilterCache.invalidate(sessionId);
            excludeFilterCache.invalidate(sessionId);
        }
    
        @Override
        public List<Pattern> getIncludeUrlPatternList(final String sessionId) {
            try {
                return includeFilterCache.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)
Back to top