Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getAccessResult (0.09 sec)

  1. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

            assertNull(dataService.getAccessResult("id1", "http://www.id1.com/"));
            assertNotNull(dataService.getAccessResult("id2", "http://www.id2.com/"));
    
            dataService.store(accessResult1);
            assertNotNull(dataService.getAccessResult("id1", "http://www.id1.com/"));
    
            dataService.deleteAll();
    
            assertNull(dataService.getAccessResult("id1", "http://www.id1.com/"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/DataServiceImplTest.java

            dataService.store(accessResult1);
    
            final AccessResult accessResult2 = dataService.getAccessResult("id1", "http://www.id1.com/");
            assertNotNull(accessResult2);
    
            accessResult2.setMimeType("text/html");
            dataService.update(accessResult2);
    
            final AccessResult accessResult3 = dataService.getAccessResult("id1", "http://www.id1.com/");
            assertNotNull(accessResult3);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

        }
    
        /*
         * (non-Javadoc)
         *
         * @see
         * org.codelibs.fess.crawler.service.DataService#getAccessResult(java.lang.String,
         * java.lang.String)
         */
        @Override
        public AccessResultImpl<Long> getAccessResult(final String sessionId, final String url) {
            return dataHelper.getAccessResultMap(sessionId).get(url);
        }
    
        /*
         * (non-Javadoc)
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/DataService.java

        void update(RESULT accessResult);
    
        void update(List<RESULT> accessResult);
    
        int getCount(String sessionId);
    
        void delete(String sessionId);
    
        void deleteAll();
    
        RESULT getAccessResult(String sessionId, String url);
    
        List<RESULT> getAccessResultList(String url, boolean hasData);
    
        void iterate(String sessionId, final AccessResultCallback<RESULT> accessResultCallback);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java

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

        }
    
        @Override
        public void delete(final String sessionId) {
            deleteBySessionId(sessionId);
        }
    
        @Override
        public OpenSearchAccessResult getAccessResult(final String sessionId, final String url) {
            return get(OpenSearchAccessResult.class, sessionId, url);
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

            String enc = parentEncodingMap.get(key);
            if (enc != null) {
                return enc;
            }
    
            final AccessResult<?> accessResult = ComponentUtil.getDataService().getAccessResult(sessionId, parentUrl);
            if (accessResult != null) {
                final AccessResultData<?> accessResultData = accessResult.getAccessResultData();
    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/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

            final String sessionId = urlQueue.getSessionId();
            if (super.exists(sessionId, url)) {
                return true;
            }
    
            final AccessResult<String> accessResult = dataService.getAccessResult(sessionId, url);
            return accessResult != null;
        }
    
        @Override
        protected boolean exists(final String sessionId, final String url) {
            final boolean ret = super.exists(sessionId, url);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top