- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 51 for bad_word (0.09 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java
// nothing } private void upgradeFrom13_17() { final String[] configIndices = { // "fess_config.access_token", // "fess_config.bad_word", // "fess_config.boost_document_rule", // "fess_config.crawling_info", // "fess_config.crawling_info_param", // "fess_config.data_config", //
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 54K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java
System.arraycopy(badWords, 0, concat, 0, badWords.length); System.arraycopy(defaultWords, 0, concat, badWords.length, defaultWords.length); return concat; } public void add(final String badWord) { if (logger.isDebugEnabled()) { logger.debug("Add badword. {} badword: {}", arraySettings.arraySettingsIndexName, badWord); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/BadWord.java
*/ package org.codelibs.fess.es.config.exentity; import org.codelibs.fess.es.config.bsentity.BsBadWord; /** * @author ESFlute (using FreeGen) */ public class BadWord extends BsBadWord { private static final long serialVersionUID = 1L; public String getId() { return asDocMeta().id(); } public void setId(final String id) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
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); if (apply) { return deleteByQuery(QueryBuilders.wildcardQuery(FieldNames.TEXT, "*" + normalized + "*"));
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/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 20.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java
@Resource protected SuggestHelper suggestHelper; // GET /api/admin/badword/settings // POST /api/admin/badword/settings @Execute public JsonResponse<ApiResult> settings(final SearchBody body) { validateApi(body, messages -> {}); final BadWordPager pager = copyBeanToNewBean(body, BadWordPager.class); final List<BadWord> list = badWordService.getBadWordList(pager); return asJson(
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/test/java/org/codelibs/fess/suggest/settings/BadWordSettingsTest.java
settings.badword().add(value3); assertEquals(3, settings.badword().get(false).length); assertEquals(value1, settings.badword().get(false)[0]); assertEquals(value2, settings.badword().get(false)[1]); assertEquals(value3, settings.badword().get(false)[2]); settings.badword().delete(value2); assertEquals(2, settings.badword().get(false).length);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/BadWordService.java
} public OptionalEntity<BadWord> getBadWord(final String id) { return badWordBhv.selectByPK(id); } public void store(final BadWord badWord) { badWordBhv.insertOrUpdate(badWord, op -> op.setRefreshPolicy(Constants.TRUE)); } public void delete(final BadWord badWord) { badWordBhv.delete(badWord, op -> op.setRefreshPolicy(Constants.TRUE)); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.3K bytes - Viewed (0) -
src/main/resources/suggest_settings/default-badwords.txt
yfujita <******@****.***> 1499063604 +0900
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Mon Jul 03 06:33:24 UTC 2017 - 8 bytes - Viewed (0) -
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(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.1K bytes - Viewed (0)