Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for SessionId (3.1 sec)

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

                crawler.crawlerContext.setNumOfThread(numOfThread);
                crawler.urlFilter.addInclude(url + ".*");
                final String sessionId = crawler.execute();
                assertEquals(maxCount, dataService.getCount(sessionId));
                dataService.delete(sessionId);
            } finally {
                server.stop();
            }
        }
    
        public void test_execute_xmlSitemaps() throws Exception {
    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/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)
  3. 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)
  4. 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)
  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/app/service/CrawlingInfoService.java

                cb.query().docMeta().setId_Equal(crawlingInfoPager.id);
            }
            // TODO Long, Integer, String supported only.
            if (StringUtil.isNotBlank(crawlingInfoPager.sessionId)) {
                cb.query().setSessionId_Match(crawlingInfoPager.sessionId);
            }
            cb.query().addOrderBy_CreatedTime_Desc();
        }
    
        protected void setupStoreCondition(final CrawlingInfo crawlingInfo) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsCrawlingInfoCA.java

        public void setSessionId_Terms(ConditionOptionCall<TermsAggregationBuilder> opLambda) {
            setSessionId_Terms("sessionId", opLambda, null);
        }
    
        public void setSessionId_Terms(ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
            setSessionId_Terms("sessionId", opLambda, aggsLambda);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  8. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                crawler.crawlerContext.setNumOfThread(numOfThread);
                crawler.urlFilter.addInclude(url + ".*");
                final String sessionId = crawler.execute();
                assertEquals(maxCount, dataService.getCount(sessionId));
                dataService.delete(sessionId);
            } finally {
                server.stop();
            }
        }
    
        public void test_execute_xmlSitemaps() throws Exception {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.9K 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/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)
Back to top