Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for setDepth (0.07 sec)

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

            urlQueue.setDepth(1);
            urlQueue.setMethod("GET");
            urlQueue.setSessionId("id1");
            urlQueue.setUrl("http://www.id1.com/");
    
            urlQueueService.insert(urlQueue);
    
            final OpenSearchUrlQueue urlQueue2 = new OpenSearchUrlQueue();
            urlQueue2.setCreateTime(System.currentTimeMillis());
            urlQueue2.setDepth(1);
            urlQueue2.setMethod("GET");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java

         *
         * @see org.codelibs.fess.crawler.entity.UrlQueue#getDepth()
         */
        @Override
        public Integer getDepth() {
            return depth;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.UrlQueue#setDepth(java.lang.Integer)
         */
        @Override
        public void setDepth(final Integer depth) {
            this.depth = depth;
        }
    
        /*
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java

                final UrlQueueImpl<Long> urlQueue = new UrlQueueImpl<>();
                urlQueue.setSessionId(sessionId);
                urlQueue.setMethod(Constants.GET_METHOD);
                urlQueue.setUrl(url);
                urlQueue.setDepth(0);
                urlQueue.setCreateTime(SystemUtil.currentTimeMillis());
                urlQueueList.add(urlQueue);
            }
        }
    
        /*
         * (non-Javadoc)
         *
         * @see
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java

         * Retrieves the depth of the URL in the queue.
         *
         * @return the depth of the URL as an Integer.
         */
        Integer getDepth();
    
        /**
         * Sets the depth of the URL in the queue.
         *
         * @param depth the depth to set, represented as an Integer.
         */
        void setDepth(Integer depth);
    
        /**
         * Returns the last modified timestamp of the URL in the queue.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                                    // redirect
                                    storeChildUrl(responseData.getRedirectLocation(), urlQueue.getUrl(), urlQueue.getWeight(),
                                            urlQueue.getDepth() == null ? 1 : urlQueue.getDepth() + 1);
                                }
                            }
    
                            log(logHelper, LogType.FINISHED_CRAWLING, crawlerContext, urlQueue);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

            urlQueue.setSessionId(sessionId);
            urlQueue.setUrl(url);
            urlQueue.setCreateTime(System.currentTimeMillis());
            urlQueue.setLastModified(0L);
            urlQueue.setDepth(0);
            urlQueue.setMethod(Constants.GET_METHOD);
            insert(urlQueue);
        }
    
        /**
         * Inserts a URL queue entry into the OpenSearch index.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17K bytes
    - Viewed (1)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

                    if (logger.isDebugEnabled()) {
                        logger.debug("Storing child urls: {}", resultData.getChildUrlSet());
                    }
                    final int depth = urlQueue.getDepth() == null ? 1 : urlQueue.getDepth() + 1;
                    if (crawlerContext.getMaxDepth() < 0 || depth <= crawlerContext.getMaxDepth()) {
                        // add and filter urls
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top