Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 384 for deletes (0.05 seconds)

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

            this.settings = settings;
            this.suggestWriter = suggestWriter;
        }
    
        /**
         * Deletes a suggest item by ID.
         *
         * @param index The index name
         * @param id The ID of the item to delete
         * @return The SuggestDeleteResponse
         */
        public SuggestDeleteResponse delete(final String index, final String id) {
            if (logger.isDebugEnabled()) {
    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/main/java/org/codelibs/fess/helper/IndexingHelper.java

        }
    
        /**
         * Deletes all documents associated with the specified session ID from the given index.
         *
         * @param searchEngineClient the search engine client to use for deletion
         * @param index the index name to delete documents from
         * @param sessionId the session ID to delete documents for
         * @return the number of documents that were deleted
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

     * <li>{@link #delete(String)} - Delete a suggest item by ID.</li>
     * <li>{@link #deleteByQuery(String)} - Delete suggest items by query string.</li>
     * <li>{@link #deleteByQuery(QueryBuilder)} - Delete suggest items by query builder.</li>
     * <li>{@link #deleteAll()} - Delete all suggest items.</li>
     * <li>{@link #deleteDocumentWords()} - Delete document words.</li>
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 20.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

        }
    
        /**
         * Deletes all words from the suggest index.
         *
         * @return true if the operation was successful, false otherwise.
         */
        public boolean deleteAllWords() {
            final SuggestDeleteResponse response = suggester.indexer().deleteAll();
            if (response.hasError()) {
                logger.warn("Failed to delete all words.", response.getErrors().get(0));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/index/operations/WordManagementOperations.java

            }
            return new SuggestDeleteResponse(null, 0);
        }
    
        /**
         * Deletes a bad word.
         *
         * @param badWord The bad word to delete
         */
        public void deleteBadWord(final String badWord) {
            settings.badword().delete(normalizer.normalize(badWord, ""));
        }
    
        /**
         * Adds an elevate word.
         *
         * @param index The index name
    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/storage/StorageClient.java

         * @param outputStream the output stream to write data to
         */
        void downloadObject(String objectName, OutputStream outputStream);
    
        /**
         * Deletes an object from storage.
         *
         * @param objectName the name/path of the object to delete
         */
        void deleteObject(String objectName);
    
        /**
         * Lists objects in storage with the given prefix.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/curl/io/ContentCache.java

     * <p>When an instance of ContentCache is created with a byte array, the content is cached in memory.
     * When an instance is created with a File object, the content is cached in the specified file.
     *
     * <p>The {@code close()} method deletes the file if the content is cached in a file.
     *
     * <p>The {@code getInputStream()} method provides an InputStream to read the cached content.
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  8. CLAUDE.md

    - **`CurlException`**: Unchecked RuntimeException for HTTP errors.
    
    ### I/O Layer
    
    - **`ContentCache`**: In-memory or file-based caching. Implements `Closeable` and auto-deletes file cache on close.
    
    - **`ContentOutputStream`**: Extends `DeferredFileOutputStream`. Writes to memory until threshold (default 1MB) exceeded, then spills to temp file.
    
    ## Technical Details
    
    - **Java Version**: 17+
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Jan 08 07:28:24 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                    }
                    try {
                        Files.delete(f);
                    } catch (final IOException e) {
                        logger.warn("Failed to delete: path={}", f, e);
                    }
                });
                Files.deleteIfExists(dir);
            } catch (final IOException e) {
                logger.warn("Failed to delete: path={}", dir, 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)
  10. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                    final long numOfDeleted = searchEngineClient.deleteByQuery(index, queryBuilder);
                    logger.info("[{}] Deleted {} stale documents.", dataConfig.getName(), numOfDeleted);
                } catch (final Exception e) {
                    logger.error("[{}] Failed to delete stale documents.", dataConfig.getName(), e);
                }
            }
    
            /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19K bytes
    - Click Count (0)
Back to Top