Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 218 for sessionId (0.08 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                crawler2.getCrawlerContext().setNumOfThread(numOfThread);
    
                final String sessionId1 = crawler1.execute();
                final String sessionId2 = crawler2.execute();
    
                assertNotSame(sessionId1, sessionId2);
                assertNotSame(crawler1.crawlerContext, crawler2.crawlerContext);
    
                Thread.sleep(1000);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

            }
        }
    
        @Override
        public void delete(final String sessionId) {
            deleteBySessionId(sessionId);
        }
    
        @Override
        public void offerAll(final String sessionId, final List<OpenSearchUrlQueue> urlQueueList) {
            if (logger.isDebugEnabled()) {
                logger.debug("Offering URL: Session ID: {}, UrlQueue: {}", sessionId, urlQueueList);
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                crawler2.getCrawlerContext().setNumOfThread(numOfThread);
    
                final String sessionId1 = crawler1.execute();
                final String sessionId2 = crawler2.execute();
    
                assertNotSame(sessionId1, sessionId2);
                assertNotSame(crawler1.crawlerContext, crawler2.crawlerContext);
    
                Thread.sleep(1000);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            final Object sessionId = sessionIdProp.getValue(target);
            return sessionId == null ? null : sessionId.toString();
        }
    
        private String getSessionId(final Object target) {
            final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(target.getClass());
            final PropertyDesc sessionIdProp = beanDesc.getPropertyDesc(SESSION_ID);
            final Object sessionId = sessionIdProp.getValue(target);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

        public String getCanonicalSessionId(final String sessionId) {
            final int idx = sessionId.indexOf('-');
            if (idx >= 0) {
                return sessionId.substring(0, idx);
            }
            return sessionId;
        }
    
        public synchronized void store(final String sessionId, final boolean create) {
            CrawlingInfo crawlingInfo = create ? null : getCrawlingInfoService().getLast(sessionId);
            if (crawlingInfo == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/Crawler.java

            if (StringUtil.isBlank(options.sessionId)) {
                // use a default session id
                final SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
                options.sessionId = sdf.format(new Date());
            } else {
                options.sessionId = options.sessionId.replace('-', '_');
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

            if (StringUtil.isNotBlank(crawlingInfoPager.sessionId)) {
                cb.query().setSessionId_Match(crawlingInfoPager.sessionId);
            }
            cb.query().addOrderBy_CreatedTime_Desc();
        }
    
        protected void setupStoreCondition(final CrawlingInfo crawlingInfo) {
            if (crawlingInfo == null) {
                throw new FessSystemException("Crawling Session is null.");
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsCrawlingInfoCQ.java

            TermQueryBuilder builder = regTermQ("sessionId", sessionId);
            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setSessionId_NotEqual(String sessionId) {
            setSessionId_NotTerm(sessionId, null);
        }
    
        public void setSessionId_NotTerm(String sessionId) {
            setSessionId_NotTerm(sessionId, null);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            }
            try {
                urlQueueService.delete(sessionId);
            } catch (final Exception e) {
                logger.warn("Failed to delete url queues: {}", sessionId, e);
            }
            try {
                dataService.delete(sessionId);
            } catch (final Exception e) {
                logger.warn("Failed to delete data: {}", sessionId, e);
            }
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/CrawlJob.java

            if (sessionId == null) { // create session id
                final SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
                sessionId = sdf.format(new Date());
            }
            resultBuf.append("Session Id: ").append(sessionId).append("\n");
            resultBuf.append("Web  Config Id:");
            if (webConfigIds == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top