Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Purger (0.06 sec)

  1. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            }).then(response -> {
                refresh();
                success.accept(true);
            }).error(t -> error.accept(t));
        }
    
        /**
         * Purges old suggest data from documents.
         *
         * @param time The timestamp to purge data before.
         */
        public void purgeDocumentSuggest(final LocalDateTime time) {
            final BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                logger.debug("{} is not available.", generator.getName());
            }
        }
    
        /**
         * Purges old thumbnail files based on the expiry time.
         *
         * @param expiry the expiry time threshold
         * @return the number of files purged
         */
        public long purge(final long expiry) {
            if (!baseDir.exists()) {
                return 0;
            }
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

        }
    
        // Test purge with no purge search log
        public void test_purge_noPurgeSearchLog() {
            // Test when purge search log is disabled
            SuggestCreator.Options options = new SuggestCreator.Options();
            assertNotNull(options);
        }
    
        // Test create and purge full flow
        public void test_createAndPurge_fullFlow() {
            // Test full flow of create and purge
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

        }
    
        // Test execute with successful purge (single file deleted)
        public void test_execute_singleFileDeleted() {
            thumbnailManager.setPurgeCallCount(1);
    
            String result = purgeThumbnailJob.execute();
    
            assertEquals("Deleted 1 thumbnail files.", result);
        }
    
        // Test execute with successful purge (multiple files deleted)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

    import jakarta.annotation.Resource;
    
    /**
     * This class is a command-line application for creating and managing the suggest index.
     * It provides functionality to index words from documents and search logs, as well as
     * to purge old suggest data.
     */
    public class SuggestCreator {
    
        /**
         * Constructs a new suggest creator.
         */
        public SuggestCreator() {
            // do nothing
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            recentFile.createNewFile();
            recentFile.setLastModified(System.currentTimeMillis());
    
            // Override purge to avoid client operations
            ThumbnailManager testManager = new ThumbnailManager() {
                @Override
                public long purge(long expiry) {
                    // Just count files that would be deleted
                    return 1L;
                }
            };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java

            assertFalse(deleteUserInfoCalled[0]);
    
            // Assert result contains skip messages
            assertTrue(result.contains("Skipped to purge search logs"));
            assertTrue(result.contains("Skipped to purge job logs"));
            assertTrue(result.contains("Skipped to purge user info logs"));
        }
    
        // Test crawlingInfoService exception handling
        public void test_execute_crawlingInfoException() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ObjectArrays.java

       *
       * @param element the element to prepend to the front of {@code array}
       * @param array the array of elements to append
       * @return an array whose size is one larger than {@code array}, with {@code element} occupying
       *     the first position, and the elements of {@code array} occupying the remaining elements.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

       * map of public suffixes. The encoded trie string may be broken into multiple chunks to avoid the
       * 64k limit on string literal size. In-memory strings can be much larger (2G).
       */
      static ImmutableMap<String, PublicSuffixType> parseTrie(CharSequence... encodedChunks) {
        String encoded = DIRECT_JOINER.join(encodedChunks);
        return parseFullString(encoded);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ObjectArrays.java

       *
       * @param element the element to prepend to the front of {@code array}
       * @param array the array of elements to append
       * @return an array whose size is one larger than {@code array}, with {@code element} occupying
       *     the first position, and the elements of {@code array} occupying the remaining elements.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top