Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for getDepth (0.06 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                                    // redirect
                                    storeChildUrl(responseData.getRedirectLocation(), urlQueue.getUrl(), null,
                                            urlQueue.getDepth() == null ? 1 : urlQueue.getDepth() + 1);
                                }
                            }
    
                            log(logHelper, LogType.FINISHED_CRAWLING, crawlerContext, urlQueue);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. 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 Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

                //                                              )
                //                            {
                //                                if( e1.getDepth() == e2.getDepth() )
                //                                {
                //                                    if( e2.getPomOrder() == e1.getPomOrder() )
                //                                        return
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolver.java

         *      org.apache.maven.artifact.resolver.ResolutionNode)
         */
    
        public ResolutionNode resolveConflict(ResolutionNode node1, ResolutionNode node2) {
            return node1.getDepth() <= node2.getDepth() ? node1 : node2;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicy.java

        @Configuration(name = "newer-first", value = "true")
        private boolean newerFirst = true;
    
        public MetadataGraphEdge apply(MetadataGraphEdge e1, MetadataGraphEdge e2) {
            int depth1 = e1.getDepth();
            int depth2 = e2.getDepth();
    
            if (depth1 == depth2) {
                ArtifactVersion v1 = new DefaultArtifactVersion(e1.getVersion());
                ArtifactVersion v2 = new DefaultArtifactVersion(e2.getVersion());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolver.java

         *      org.apache.maven.artifact.resolver.ResolutionNode)
         */
    
        public ResolutionNode resolveConflict(ResolutionNode node1, ResolutionNode node2) {
            return node1.getDepth() >= node2.getDepth() ? node1 : node2;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. 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 Nov 10 03:50:12 UTC 2024
    - Last Modified: Mon Nov 04 07:44:18 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java

        void setMetaData(String metaData);
    
        String getEncoding();
    
        void setEncoding(String encoding);
    
        String getParentUrl();
    
        void setParentUrl(String parentUrl);
    
        Integer getDepth();
    
        void setDepth(Integer depth);
    
        Long getLastModified();
    
        void setLastModified(Long lastModified);
    
        Long getCreateTime();
    
        void setCreateTime(Long createTime);
    
        float getWeight();
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Mon Nov 04 07:44:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                crawlerContext.setNumOfThread(numOfThread);
    
                // depth
                final int depth = webConfig.getDepth() != null ? webConfig.getDepth() : -1;
                crawlerContext.setMaxDepth(depth);
    
                // max count
                final long maxCount = webConfig.getMaxAccessCount() != null ? webConfig.getMaxAccessCount() : maxAccessCount;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                try {
                    storeChildUrls(childUrlSet.stream().filter(rd -> StringUtil.isNotBlank(rd.getUrl())).collect(Collectors.toSet()),
                            urlQueue.getUrl(), urlQueue.getDepth() != null ? urlQueue.getDepth() + 1 : 1);
                } catch (final Throwable t) {
                    if (!ComponentUtil.available()) {
                        throw new ContainerNotAvailableException(t);
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top