Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 122 for deleting (0.14 seconds)

  1. src/main/java/org/codelibs/fess/suggest/index/operations/DeletionOperations.java

    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.search.SearchHit;
    import org.opensearch.transport.client.Client;
    
    /**
     * Internal operations class for deletion functionality.
     * Handles deletion of suggest items by ID, query, or kind.
     *
     * <p>This class is package-private and intended for internal use by SuggestIndexer.
     */
    public class DeletionOperations {
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/it/admin/SuggestTests.java

        }
    
        @Test
        void testDeleteAllWords_ok() {
            // Test deleting all suggest words
            String response = checkDeleteMethod("all").asString();
            assertEquals(Integer.valueOf(0), JsonPath.from(response).get("response.status"));
        }
    
        @Test
        void testDeleteDocumentWords_ok() {
            // Test deleting document-based suggest words
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/FileBackedOutputStream.java

     *
     * <p>Temporary files created by this stream may live in the local filesystem until either:
     *
     * <ul>
     *   <li>{@link #reset} is called (removing the data in this stream and deleting the file), or...
     *   <li>this stream (or, more precisely, its {@link #asByteSource} view) is garbage collected,
     *       <strong>AND</strong> this stream was constructed with {@linkplain
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  4. docs/features/caching.md

     - ... Standard Events...
     - ResponseBodyEnd _(0 bytes)_
     - **CacheHit**
     - ConnectionReleased
     - CallEnd
    
    ## Cache directory
    
    The cache directory must be exclusively owned by a single instance.
    
    Deleting the cache when it is no longer needed can be done.  However this may delete the purpose of the cache
    which is designed to persist between app restarts.
    
    ```kotlin
    cache.delete()
    ```
    
    ## Pruning the Cache
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 3.1K bytes
    - Click Count (1)
  5. src/main/java/org/codelibs/fess/suggest/index/operations/WordManagementOperations.java

    import org.codelibs.fess.suggest.util.SuggestUtil;
    import org.opensearch.index.query.QueryBuilders;
    
    /**
     * Internal operations class for bad word and elevate word management.
     * Handles adding, deleting, and restoring special words.
     *
     * <p>This class is package-private and intended for internal use by SuggestIndexer.
     */
    public class WordManagementOperations {
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

            try (Stream<Path> walk = Files.walk(dir, FileVisitOption.FOLLOW_LINKS)) {
                walk.sorted(Comparator.reverseOrder()).forEach(f -> {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Deleting: path={}", f);
                    }
                    try {
                        Files.delete(f);
                    } catch (final IOException e) {
                        logger.warn("Failed to delete: path={}", f, e);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerErrorHandlingTest.java

        @Test
        public void test_deleteNonExistentId() throws Exception {
            SuggestDeleteResponse response = suggester.indexer().delete("non-existent-id");
    
            assertNotNull(response);
            // Deleting non-existent ID should not cause error
            assertFalse(response.hasError());
        }
    
        @Test
        public void test_deleteByInvalidQueryString() throws Exception {
            try {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  8. internal/stmt_store/stmt_store.go

    // This interface provides methods for creating new statements, retrieving all cache keys,
    // getting cached statements, setting cached statements, and deleting cached statements.
    type Store interface {
    	// New creates a new Stmt object and caches it.
    	// Parameters:
    	//   ctx: The context for the request, which can carry deadlines, cancellation signals, etc.
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            } finally {
                Files.deleteIfExists(noImageFile);
            }
        }
    
        @Test
        public void test_atomicDeleteIfExists_alreadyDeleted() throws Exception {
            // Test that deleting already deleted file doesn't throw
            Path tempFile = Files.createTempFile("already_deleted", ".tmp");
            Files.delete(tempFile);
            assertFalse(Files.exists(tempFile));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

                logger.warn("Failed to check existing operation: operation={}", operationName, e);
            }
            return false;
        }
    
        /**
         * Releases the operation lock by deleting the operation document.
         * Safe to call multiple times; does nothing if the document is already deleted.
         *
         * @param operationName the operation name whose lock should be released.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
Back to Top