Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for exists (0.39 sec)

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

         * @param url The URL to check.
         * @return true if the URL exists in the queue, false otherwise.
         */
        @Override
        protected boolean exists(final String sessionId, final String url) {
            final boolean ret = super.exists(sessionId, url);
            if (!ret) {
                final QueueHolder queueHolder = getQueueHolder(sessionId);
                final Queue<OpenSearchUrlQueue> waitingQueue = queueHolder.waitingQueue;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17K bytes
    - Viewed (1)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/RuleManager.java

         * @return true if the rule was successfully removed, false otherwise
         */
        boolean removeRule(Rule rule);
    
        /**
         * Checks if the specified rule exists.
         *
         * @param rule the rule to check for existence
         * @return true if the rule exists, false otherwise
         */
        boolean hasRule(Rule rule);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

        }
    
        /**
         * Checks if a document exists in the OpenSearch index for the given session ID and URL.
         *
         * @param sessionId The session ID of the document.
         * @param url The URL of the document.
         * @return true if the document exists, false otherwise.
         * @throws OpenSearchAccessException if the existence check fails.
         */
        protected boolean exists(final String sessionId, final String url) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

                File file = new File(targetFile, paths[i]);
                if (file.exists()) {
                    if (!file.isDirectory()) {
                        for (int j = 0; j < maxDuplicatedPath; j++) {
                            file = new File(targetFile, paths[i] + "_" + j);
                            if (!file.exists()) {
                                if (!file.mkdirs()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java

            // Default constructor
        }
    
        /**
         * Adds an extractor to the factory for the specified key.
         * If an extractor already exists for the key, the new extractor is added to the array of extractors,
         * and the array is sorted by weight in descending order.
         * If no extractor exists for the key, a new array containing the extractor is created and associated with the key.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

         * Copies content from an SmbFile to a File.
         * @param src The source SmbFile.
         * @param dest The destination File.
         */
        private void copy(final SmbFile src, final File dest) {
            if (dest.exists() && !dest.canWrite()) {
                return;
            }
            try (BufferedInputStream in = new BufferedInputStream(new SmbFileInputStream(src));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

            isInit = true;
        }
    
        /**
         * Checks if a bucket exists in the object storage.
         * @param name the name of the bucket to check
         * @return true if the bucket exists, false otherwise
         * @throws CrawlingAccessException if an error occurs while checking bucket existence
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17.9K bytes
    - Viewed (2)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

        }
    
        /**
         * Stores an access result in the data store.
         *
         * @param accessResult the access result to store
         * @throws CrawlerSystemException if the access result is null or already exists
         */
        @Override
        public void store(final AccessResultImpl<Long> accessResult) {
            if (accessResult == null) {
                throw new CrawlerSystemException("AccessResult is null.");
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java

            for (final UrlQueue<Long> urlInQueue : urlQueueList) {
                if (url.equals(urlInQueue.getUrl())) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("URL exists in a queue: {}", url);
                    }
                    return false;
                }
            }
    
            // check it in result
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

                        crawlerContext.decrementAndGetAccessCount();
                        if (urlQueueService.visited(urlQueue)) {
                            // document already exists
                            if (logger.isDebugEnabled()) {
                                logger.debug("{} exists.", urlQueue.getUrl(), e);
                            }
                            return;
                        }
                        throw e;
                    }
    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