Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 162 for init (0.01 sec)

  1. src/main/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverter.java

        }
    
        @Override
        public void init() throws IOException {
            // nothing
        }
    
        @Override
        public List<String> convert(final String text, final String field, final String... lang) {
            final List<String> list = new ArrayList<>();
    
            final List<StringBuilder> bufList = new ArrayList<>();
            bufList.add(new StringBuilder());
            for (int i = 0; i < text.length();) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

         */
        public void addClient(final String regex, final CrawlerClient client, final int pos) {
            if (StringUtil.isBlank(regex)) {
                throw new CrawlerSystemException("A regular expression is null.");
            }
            if (client == null) {
                throw new CrawlerSystemException("CrawlerClient is null.");
            }
            int current = 0;
            boolean added = false;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

        /**
         * The expiration time for the filter cache in seconds.
         */
        protected int filterCacheExpireAfterWrite = 10; // 10sec
    
        /**
         * The maximum number of items to load into the cache.
         */
        protected int maxLoadSize = 10000;
    
        /**
         * Creates a new instance of OpenSearchUrlFilterService.
         * @param crawlerConfig The crawler configuration.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

        /**
         * Test thread safety of enum
         */
        public void test_threadSafety() throws Exception {
            final int threadCount = 100;
            final int iterationsPerThread = 1000;
            final Set<Exception> exceptions = new HashSet<>();
    
            Thread[] threads = new Thread[threadCount];
            for (int i = 0; i < threadCount; i++) {
                threads[i] = new Thread(new Runnable() {
                    @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

        }
    
        /**
         * Initializes the XPathAPI cache with a specified cache duration.
         * This method is called to set up the cache for XPathAPI instances.
         */
        @Resource
        public void init() {
            xpathAPICache =
                    CacheBuilder.newBuilder().expireAfterAccess(cacheDuration, TimeUnit.MINUTES).build(new CacheLoader<String, XPathAPI>() {
                        @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java

        /** The last modified time of the accessed resource. */
        protected Long lastModified;
    
        /** The access result data. */
        protected AccessResultData<IDTYPE> accessResultData;
    
        @Override
        public void init(final ResponseData responseData, final ResultData resultData) {
    
            setCreateTime(System.currentTimeMillis());
            if (responseData != null) {
                BeanUtil.copyBeanToBean(responseData, this);
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

         */
        public OpenSearchDataService(final String name, final String type) {
            index = name + "." + type;
        }
    
        /**
         * Initializes the service.
         */
        @PostConstruct
        public void init() {
            fesenClient.addOnConnectListener(() -> createMapping("data"));
        }
    
        /**
         * Stores an access result in the OpenSearch index.
         *
         * @param accessResult The access result to store.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

        protected Map<String, QueueHolder> sessionCache = new ConcurrentHashMap<>();
    
        /**
         * The number of URLs to fetch when polling.
         */
        protected int pollingFetchSize = 1000;
    
        /**
         * The maximum size of the crawling queue.
         */
        protected int maxCrawlingQueueSize = 100;
    
        /**
         * Creates a new instance of OpenSearchUrlQueueService.
         * @param crawlerConfig The crawler configuration.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17K bytes
    - Viewed (1)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

        */
        @Override
        public synchronized void init() {
            if (httpClient != null) {
                return;
            }
    
            if (logger.isDebugEnabled()) {
                logger.debug("Initializing {}", HcHttpClient.class.getName());
            }
    
            super.init();
    
            // robots.txt parser
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

            SmbAuthentication[] auths = new SmbAuthentication[] { auth1 };
            params.put("smbAuthentications", auths);
            smbClient.setInitParameterMap(params);
            smbClient.init();
    
            for (int i = 0; i < 30; i++) {
                try {
                    smbClient.doGet(baseUrl);
                    break;
                } catch (final Exception e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 13.7K bytes
    - Viewed (0)
Back to top