Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Purger (0.3 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 27K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            byte[] dst = new byte[256];
            int bytesWritten = packet.writeTrailerWireFormat(dst, 0);
    
            assertTrue(bytesWritten > 68); // Should be larger due to scope
        }
    
        @Test
        @DisplayName("readTrailerWireFormat should read complete packet data")
        void testReadTrailerWireFormatSuccess() throws IOException {
            SessionRequestPacket writePacket =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/FileUtil.java

            }
        }
    
        /**
         * Reads the contents of a file into a byte array and returns it.
         * <p>
         * <strong>Note:</strong> This method loads the entire file into memory.
         * For files larger than {@value #MAX_BUF_SIZE} bytes (10MB), an
         * {@link IORuntimeException} will be thrown to prevent OutOfMemoryError.
         * For large files, use streaming APIs instead.
         * </p>
         *
         * @param file
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/Constants.java

        // ============================================================
        // Data Purge Property Keys
        // ============================================================
    
        /** Property key for search log purge day configuration. */
        public static final String PURGE_SEARCH_LOG_DAY_PROPERTY = "purge.searchlog.day";
    
        /** Property key for user info purge day configuration. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/FileUtilTest.java

         *
         * @throws Exception
         */
        @Test
        public void testReadBytes_LargeFile() throws Exception {
            final File largeFile = tempFolder.newFile("large.dat");
    
            // Create a file larger than MAX_BUF_SIZE (10MB)
            // Write 11MB of data
            try (FileOutputStream fos = new FileOutputStream(largeFile)) {
                final byte[] chunk = new byte[1024 * 1024]; // 1MB
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

            SuggestItem firstItem = items.get(0);
            assertTrue(firstItem.getTags().length >= 2);
        }
    
        @Test
        public void test_parseDocumentWithLargeText() throws Exception {
            // Test with text larger than maxAnalyzedContentLength
            StringBuilder largeText = new StringBuilder();
            for (int i = 0; i < 2000; i++) {
                largeText.append("ใƒ†ใ‚นใƒˆ ");
            }
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileInputStream.java

            return readDirect(b, off, len);
        }
    
        /**
         * Reads up to len bytes of data from this input stream into an array of bytes.
         * Optimized for better performance with larger read sizes and reduced round trips.
         *
         * @param b the buffer to read into
         * @param off the offset in the buffer to start writing
         * @param len the maximum number of bytes to read
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

         */
        @Min(-1)
        @Max(100000)
        @ValidateTypeFailure
        public Integer purgeUserInfoDay;
    
        /**
         * Bot user agents whose search logs should be purged.
         * Search logs from these bots will be automatically removed.
         */
        @Size(max = 10000)
        public String purgeByBots;
    
        /**
         * Email addresses to receive system notifications.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top