Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for setNumOfThread (0.2 sec)

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

                file.deleteOnExit();
                fileTransformer.setPath(file.getAbsolutePath());
                crawler.addUrl(url);
                crawler.crawlerContext.setMaxAccessCount(maxCount);
                crawler.crawlerContext.setNumOfThread(numOfThread);
                crawler.urlFilter.addInclude(url + ".*");
                final String sessionId = crawler.execute();
                assertEquals(maxCount, dataService.getCount(sessionId));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                fileTransformer.setPath(file.getAbsolutePath());
                crawler.addUrl(url);
                crawler.crawlerContext.setMaxAccessCount(maxCount);
                crawler.crawlerContext.setNumOfThread(numOfThread);
                crawler.urlFilter.addInclude(url + ".*");
                final String sessionId = crawler.execute();
                assertEquals(maxCount, dataService.getCount(sessionId));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                fileTransformer.setPath(file.getAbsolutePath());
                crawler.addUrl(url);
                crawler.getCrawlerContext().setMaxAccessCount(maxCount);
                crawler.getCrawlerContext().setNumOfThread(numOfThread);
                crawler.urlFilter.addInclude(url + ".*");
                final String sessionId = crawler.execute();
                assertEquals(maxCount, dataService.getCount(sessionId));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

                    if (form.maxAccessCount != null) {
                        wConfig.setMaxAccessCount(form.maxAccessCount);
                    }
                    wConfig.setName(configName);
                    wConfig.setNumOfThread(getDefaultInteger("default.config.web.numOfThread", Constants.DEFAULT_NUM_OF_THREAD_FOR_WEB));
                    wConfig.setSortOrder(getDefaultInteger("default.config.web.sortOrder", 1));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

        }
    
        public Object getActiveThreadCountLock() {
            return activeThreadCountLock;
        }
    
        public int getNumOfThread() {
            return numOfThread;
        }
    
        public void setNumOfThread(final int numOfThread) {
            this.numOfThread = numOfThread;
        }
    
        public int getMaxThreadCheckCount() {
            return maxThreadCheckCount;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

            urlQueueService.saveSession(crawlerContext.sessionId);
        }
    
        public CrawlerContext getCrawlerContext() {
            return crawlerContext;
        }
    
        public void setNumOfThread(final int numOfThread) {
            crawlerContext.numOfThread = numOfThread;
        }
    
        public void setMaxThreadCheckCount(final int maxThreadCheckCount) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                        webConfig.setBoost(1.0f);
                        webConfig.setConfigParameter(StringUtil.EMPTY);
                        webConfig.setIntervalTime(1000);
                        webConfig.setNumOfThread(3);
                        webConfig.setSortOrder(1);
                        webConfig.setUrls(webUrls);
                        webConfig.setIncludedUrls(parseFilterPaths(globalParams.get(GOOD_URLS), true, false));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsbhv/BsFileConfigBhv.java

                result.setMaxAccessCount(DfTypeUtil.toLong(source.get("maxAccessCount")));
                result.setName(DfTypeUtil.toString(source.get("name")));
                result.setNumOfThread(DfTypeUtil.toInteger(source.get("numOfThread")));
                result.setPaths(DfTypeUtil.toString(source.get("paths")));
                result.setPermissions(toStringArray(source.get("permissions")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                final int numOfThread =
                        webConfig.getNumOfThread() != null ? webConfig.getNumOfThread() : Constants.DEFAULT_NUM_OF_THREAD_FOR_WEB;
                crawlerContext.setNumOfThread(numOfThread);
    
                // depth
                final int depth = webConfig.getDepth() != null ? webConfig.getDepth() : -1;
                crawlerContext.setMaxDepth(depth);
    
                // max count
    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/es/config/bsentity/BsWebConfig.java

            this.name = value;
        }
    
        public Integer getNumOfThread() {
            checkSpecifiedProperty("numOfThread");
            return numOfThread;
        }
    
        public void setNumOfThread(Integer value) {
            registerModifiedProperty("numOfThread");
            this.numOfThread = value;
        }
    
        public String[] getPermissions() {
            checkSpecifiedProperty("permissions");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top