Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for accessResult (0.1 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

            }
        }
    
        protected AccessResult<?> createAccessResult(final ResponseData responseData, final ResultData resultData) {
            final AccessResult<?> accessResult = crawlerContainer.getComponent("accessResult");
            accessResult.init(responseData, resultData);
            return accessResult;
        }
    
        protected boolean checkAccessCount(final CrawlerContext crawlerContext) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/DataService.java

    import java.util.List;
    
    import org.codelibs.fess.crawler.entity.AccessResult;
    import org.codelibs.fess.crawler.util.AccessResultCallback;
    
    /**
     * @author shinsuke
     *
     */
    public interface DataService<RESULT extends AccessResult<?>> {
    
        void store(RESULT accessResult);
    
        void update(RESULT accessResult);
    
        void update(List<RESULT> accessResult);
    
        int getCount(String sessionId);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ingest/Ingester.java

            return target;
        }
    
        // web/file
        public Map<String, Object> process(final Map<String, Object> target, final AccessResult<String> accessResult) {
            return process(target);
        }
    
        // datastore
        public Map<String, Object> process(final Map<String, Object> target, final DataStoreParams params) {
            return process(target);
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java

                final OpenSearchAccessResult accessResult = dataService.getAccessResult(getSessionId(), getUrl());
                if (accessResult != null && accessResult.accessResultData != null) {
                    setAccessResultData(accessResult.accessResultData);
                } else {
                    setAccessResultData(null);
                }
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/CrawlingParameterUtil.java

            } else {
                URL_QUEUE_SERVICE_THREAD_LOCAL.set(urlQueueService);
            }
        }
    
        public static DataService<AccessResult<?>> getDataService() {
            return DATA_SERVICE_THREAD_LOCAL.get();
        }
    
        public static void setDataService(final DataService<AccessResult<?>> dataService) {
            if (dataService == null) {
                DATA_SERVICE_THREAD_LOCAL.remove();
            } else {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                }
    
                dataService.iterate(sessionId1, accessResult -> {
                    assertTrue(accessResult.getUrl().startsWith(url1));
                    assertEquals(Constants.GET_METHOD, accessResult.getMethod());
                });
                dataService.iterate(sessionId2, accessResult -> {
                    assertTrue(accessResult.getUrl().startsWith(url2));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

            if (enc != null) {
                return enc;
            }
    
            final AccessResult<?> accessResult = ComponentUtil.getDataService().getAccessResult(sessionId, parentUrl);
            if (accessResult != null) {
                final AccessResultData<?> accessResultData = accessResult.getAccessResultData();
                if (accessResultData != null && accessResultData.getEncoding() != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                    assertTrue(urlQueue.getUrl() + "=>" + url2, urlQueue.getUrl().startsWith(url2));
                }
    
                dataService.iterate(sessionId1, accessResult -> assertTrue(accessResult.getUrl().startsWith(url1)));
                dataService.iterate(sessionId2, accessResult -> assertTrue(accessResult.getUrl().startsWith(url2)));
    
                dataService.delete(sessionId1);
                dataService.delete(sessionId2);
            } 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)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java

                    }
                    return false;
                }
            }
    
            // check it in result
            final AccessResult<Long> accessResult = dataHelper.getAccessResultMap(urlQueue.getSessionId()).get(url);
            if (accessResult != null) {
                if (logger.isDebugEnabled()) {
                    logger.debug("URL exists in a result: {}", url);
                }
                return false;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. fess-crawler-lasta/src/main/resources/crawler.xml

    	</component>
    
    	<!-- Crawler Thread -->
    	<component name="crawlerThread" class="org.codelibs.fess.crawler.CrawlerThread" instance="prototype" >
    	</component>
    
    	<!-- Entity -->
    	<component name="accessResult" class="org.codelibs.fess.crawler.entity.AccessResultImpl" instance="prototype" >
    	</component>
    	<component name="urlQueue" class="org.codelibs.fess.crawler.entity.UrlQueueImpl" instance="prototype" >
    	</component>
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Nov 28 13:40:25 UTC 2017
    - 1.7K bytes
    - Viewed (0)
Back to top