- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for addBadWord (0.08 sec)
-
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
for (final BadWord badWord : list) { final String word = badWord.getSuggestWord(); suggester.indexer().addBadWord(word, apply); } refresh(); } public void addBadWord(final String badWord, final boolean apply) { suggester.indexer().addBadWord(badWord, apply); refresh(); } public void deleteBadWord(final String badWord) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java
messages.addErrorsCrudFailedToCreateInstance(GLOBAL); }); return null; }); try { badWordService.store(entity); suggestHelper.addBadWord(entity.getSuggestWord(), false); } catch (final Exception e) { logger.warn("Failed to process a request.", e);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java
verifyToken(this::asEditHtml); getBadWord(form).ifPresent(entity -> { try { badWordService.store(entity); suggestHelper.addBadWord(entity.getSuggestWord(), false); saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL)); } catch (final Exception e) { logger.warn("Failed to process a request.", e);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 16.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
if (logger.isDebugEnabled()) { logger.debug(msg, e); } throw new SuggestIndexException(msg, e); } } public SuggestDeleteResponse addBadWord(final String badWord, final boolean apply) { final String normalized = normalizer.normalize(badWord, ""); settings.badword().add(normalized); badWords = settings.badword().get(true);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 26.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
assertEquals("全文 検索", response.getWords().get(0)); suggester.indexer().addBadWord("[", true); suggester.refresh(); SuggestResponse response2 = suggester.suggest().setQuery("kensaku").setSuggestDetail(true).execute().getResponse(); assertEquals(1, response2.getNum()); suggester.indexer().addBadWord("エンジン", true); suggester.refresh();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 37K bytes - Viewed (0)