Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Match (0.08 sec)

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

                return builder;
            } catch (final IOException e) {
                throw new OpenSearchAccessException("Failed to convert " + target + " to JSON.", e);
            }
        }
    
        protected RefreshResponse refresh() {
            try {
                return getClient().get(c -> c.admin().indices().prepareRefresh(index).execute());
            } catch (final Exception e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

        }
    
        public void start() {
            try {
                server.start();
            } catch (final Exception e) {
                throw new CrawlerSystemException(e);
            }
        }
    
        public void stop() {
            try {
                server.stop();
                server.join();
            } catch (final Exception e) {
                throw new CrawlerSystemException(e);
            } finally {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

        @PreDestroy
        public void destroy() {
            sessionCache.entrySet().stream().map(e -> e.getValue().waitingQueue).forEach(q -> q.forEach(urlQueue -> {
                try {
                    insert(urlQueue);
                } catch (final Exception e) {
                    logger.warn("Failed to restore " + urlQueue, e);
                }
            }));
        }
    
        public void clearCache() {
            sessionCache.clear();
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

            try {
                return includeFilterCache.get(sessionId);
            } catch (final ExecutionException e) {
                throw new CrawlerSystemException(e);
            }
        }
    
        @Override
        public List<Pattern> getExcludeUrlPatternList(final String sessionId) {
            try {
                return excludeFilterCache.get(sessionId);
            } catch (final ExecutionException e) {
                throw new CrawlerSystemException(e);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

                try {
                    return func.apply(this).actionGet(connTimeout, TimeUnit.MILLISECONDS);
                } catch (final IndexNotFoundException | VersionConflictEngineException e) {
                    logger.debug("{} occurs.", e.getClass().getName(), e);
                    throw e;
                } catch (final Exception e) {
                    if (retryCount > maxRetryCount) {
                        throw e;
                    }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java

            setEncoding((String) src.get(ENCODING));
            final String dataStr = (String) src.get(DATA);
            if (dataStr != null) {
                try {
                    setData(Base64Util.decode(dataStr));
                } catch (final Exception e) {
                    throw new OpenSearchAccessException("data: " + dataStr, e);
                }
            }
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                        setId(target, searchHit.getId());
                        targetList.add(target);
                    }
                } catch (final Exception e) {
                    throw new OpenSearchAccessException("response: " + response, e);
                }
            }
            return targetList;
        }
    
        @SuppressWarnings("unchecked")
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top