Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for exists (0.5 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. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

                    }
    
                    final Path path = env.configDir().resolve(filePath);
    
                    try {
                        final File file = path.toFile();
                        if (file.exists()) {
                            reloadableFile = file;
                        }
                        reader = new BufferedReader(new InputStreamReader(path.toUri().toURL().openStream(), StandardCharsets.UTF_8));
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun May 18 02:59:16 UTC 2025
    - 6.7K bytes
    - Viewed (1)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/SitemapsRuleTest.java

            if (is instanceof TemporaryFileInputStream) {
                File temporaryFile = ((TemporaryFileInputStream) is).getTemporaryFile();
                assertTrue(temporaryFile.exists());
                CloseableUtil.closeQuietly(is);
                assertFalse(temporaryFile.exists());
            } else {
                CloseableUtil.closeQuietly(is);
            }
        }
    
        private ResponseData getTestData1_OK() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/Suggester.java

    import org.opensearch.action.admin.indices.alias.get.GetAliasesResponse;
    import org.opensearch.action.admin.indices.create.CreateIndexResponse;
    import org.opensearch.action.admin.indices.exists.indices.IndicesExistsResponse;
    import org.opensearch.action.admin.indices.get.GetIndexResponse;
    import org.opensearch.action.admin.indices.refresh.RefreshResponse;
    import org.opensearch.action.search.SearchResponse;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (3)
  9. 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)
  10. 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)
Back to top