Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for getSessionId (0.09 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                    if (sessionId.equals(urlQueue.getSessionId()) && url.equals(urlQueue.getUrl())) {
                        return true;
                    }
                }
                for (final UrlQueue<String> urlQueue : waitingQueue) {
                    if (sessionId.equals(urlQueue.getSessionId()) && url.equals(urlQueue.getUrl())) {
                        return true;
                    }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java

        @Override
        public void setId(final IDTYPE id) {
            this.id = id;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.UrlQueue#getSessionId()
         */
        @Override
        public String getSessionId() {
            return sessionId;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.UrlQueue#setSessionId(java.lang.String)
         */
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Mon Nov 04 07:44:18 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

        /** a max depth for crawling. -1 is no depth check. */
        protected int maxDepth = -1;
    
        /** a max count to access urls. 0 is no limit to access it. */
        protected long maxAccessCount = 0;
    
        public String getSessionId() {
            return sessionId;
        }
    
        public void setSessionId(final String sessionId) {
            this.sessionId = sessionId;
        }
    
        public Integer getActiveThreadCount() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java

     */
    package org.codelibs.fess.crawler.entity;
    
    /**
     * @author shinsuke
     *
     */
    public interface UrlQueue<IDTYPE> {
    
        IDTYPE getId();
    
        void setId(IDTYPE id);
    
        String getSessionId();
    
        void setSessionId(String sessionId);
    
        String getMethod();
    
        void setMethod(String method);
    
        String getUrl();
    
        void setUrl(String url);
    
        String getMetaData();
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Mon Nov 04 07:44:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchUrlFilter.java

        private String url;
    
        public String getId() {
            return id;
        }
    
        public void setId(final String id) {
            this.id = id;
        }
    
        public String getSessionId() {
            return sessionId;
        }
    
        public void setSessionId(final String sessionId) {
            this.sessionId = sessionId;
        }
    
        public String getFilterType() {
            return filterType;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. 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 {
                    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)
  7. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                if (urlQueue != null) {
                    final String parentUrl = urlQueue.getParentUrl();
                    if (StringUtil.isNotEmpty(parentUrl)) {
                        final String sessionId = urlQueue.getSessionId();
                        final String pageEnc = getParentEncoding(parentUrl, sessionId);
                        if (pageEnc != null) {
                            enc = pageEnc;
    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/AbstractCrawlerService.java

            final String url = getUrl(target);
            if (url == null) {
                throw new OpenSearchAccessException("url is null.");
            }
            final String id = getId(getSessionId(target), url);
            try (final XContentBuilder source = getXContentBuilder(target)) {
                final IndexResponse response = getClient().get(c -> c.prepareIndex().setIndex(index).setId(id).setSource(source)
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

        }
    
        public String getRuleId() {
            return ruleId;
        }
    
        public void setRuleId(final String ruleId) {
            this.ruleId = ruleId;
        }
    
        public String getSessionId() {
            return sessionId;
        }
    
        public void setSessionId(final String sessionId) {
            this.sessionId = sessionId;
        }
    
        public long getExecutionTime() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                            crawlerList.get(i).awaitTermination();
                            crawlerStatusList.set(i, Constants.DONE);
                            final String sid = crawlerList.get(i).getCrawlerContext().getSessionId();
                            indexUpdater.addFinishedSessionId(sid);
                            activeCrawlerNum--;
                        }
                    }
                    ThreadUtil.sleep(crawlingExecutionInterval);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top