Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for accessResult (0.11 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResult.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.entity;
    
    /**
     * @author shinsuke
     *
     */
    public interface AccessResult<IDTYPE> {
        void init(ResponseData responseData, ResultData resultData);
    
        IDTYPE getId();
    
        void setId(IDTYPE id);
    
        String getSessionId();
    
        void setSessionId(String sessionId);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

            accessResult2.setExecutionTime(10);
            accessResult2.setHttpStatusCode(200);
            accessResult2.setLastModified(System.currentTimeMillis());
            accessResult2.setMethod("GET");
            accessResult2.setMimeType("text/plain");
            accessResult2.setParentUrl("http://www.parent.com/");
            accessResult2.setRuleId("htmlRule");
            accessResult2.setSessionId("id2");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/DataServiceImplTest.java

            accessResult1.setParentUrl("http://www.parent.com/");
            accessResult1.setRuleId("htmlRule");
            accessResult1.setSessionId("id1");
            accessResult1.setStatus(200);
            accessResult1.setUrl("http://www.id1.com/");
    
            dataService.store(accessResult1);
    
            final AccessResult accessResult2 = dataService.getAccessResult("id1", "http://www.id1.com/");
            assertNotNull(accessResult2);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java

        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.AccessResult#getId()
         */
        @Override
        public IDTYPE getId() {
            return id;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.AccessResult#setId(IDTYPE)
         */
        @Override
        public void setId(final IDTYPE id) {
            this.id = id;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

        }
    
        @Override
        public void store(final OpenSearchAccessResult accessResult) {
            super.insert(accessResult, accessResult.getId() == null ? OpType.CREATE : OpType.INDEX);
        }
    
        @Override
        public void update(final OpenSearchAccessResult accessResult) {
            super.insert(accessResult, OpType.INDEX);
        }
    
        @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)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

         * AccessResult)
         */
        @Override
        public void store(final AccessResultImpl<Long> accessResult) {
            if (accessResult == null) {
                throw new CrawlerSystemException("AccessResult is null.");
            }
    
            synchronized (idCountLock) {
                idCount++;
                accessResult.setId(idCount);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/AccessResultCallback.java

     */
    package org.codelibs.fess.crawler.util;
    
    import org.codelibs.fess.crawler.entity.AccessResult;
    
    /**
     * @author shinsuke
     *
     */
    public interface AccessResultCallback<RESULT extends AccessResult<?>> {
        void iterate(RESULT accessResult);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 861 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top