- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for SuggestDeleteResponse (0.33 seconds)
-
src/main/java/org/codelibs/fess/suggest/index/SuggestDeleteResponse.java
* and the time taken to complete the operation. */ public class SuggestDeleteResponse { /** List of errors that occurred during the operation. */ protected final List<Throwable> errors = new ArrayList<>(); /** Time taken for the operation in milliseconds. */ protected final long took; /** * Constructor for SuggestDeleteResponse. * @param errors A list of Throwables representing errors.Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestDeleteResponseTest.java
SuggestDeleteResponse response = new SuggestDeleteResponse(errors, 100); assertNotNull(response); assertFalse(response.hasError()); assertEquals(0, response.getErrors().size()); } @Test public void test_getTook() throws Exception { SuggestDeleteResponse response = new SuggestDeleteResponse(null, 250);Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Nov 13 00:40:54 GMT 2025 - 3.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/operations/WordManagementOperations.java
* * @param index The index name * @param badWord The bad word to add * @param apply Whether to apply the change immediately (delete matching items) * @return The SuggestDeleteResponse */ public SuggestDeleteResponse addBadWord(final String index, final String badWord, final boolean apply) { final String normalized = normalizer.normalize(badWord, ""); settings.badword().add(normalized);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) -
src/main/java/org/codelibs/fess/suggest/index/operations/DeletionOperations.java
return new SuggestDeleteResponse(result.getFailures(), System.currentTimeMillis() - start); } /** * Deletes suggest items by a query string. * * @param index The index name * @param queryString The query string * @return The SuggestDeleteResponse */ public SuggestDeleteResponse deleteByQuery(final String index, final String queryString) {
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)