- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for addElevateWord (0.08 sec)
-
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
cb.query().matchAll(); cb.fetchFirst(ComponentUtil.getFessConfig().getPageElevateWordMaxFetchSizeAsInteger()); }); for (final ElevateWord elevateWord : list) { addElevateWord(elevateWord.getSuggestWord(), elevateWord.getReading(), elevateWord.getLabelTypeValues(), elevateWord.getPermissions(), elevateWord.getBoost(), 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) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
} public void deleteBadWord(final String badWord) { settings.badword().delete(normalizer.normalize(badWord, "")); } public SuggestIndexResponse addElevateWord(final ElevateWord elevateWord, final boolean apply) { final String normalizedWord = normalizer.normalize(elevateWord.getElevateWord(), ""); final List<String> normalizedReadings =
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/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java
messages.addErrorsCrudFailedToCreateInstance(GLOBAL); }); return null; }); try { elevateWordService.store(entity); suggestHelper.addElevateWord(entity.getSuggestWord(), entity.getReading(), entity.getLabelTypeValues(), entity.getPermissions(), entity.getBoost(), false); } catch (final Exception e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java
verifyToken(this::asEditHtml); getElevateWord(form).ifPresent(entity -> { try { elevateWordService.store(entity); suggestHelper.addElevateWord(entity.getSuggestWord(), entity.getReading(), entity.getLabelTypeValues(), entity.getPermissions(), entity.getBoost(), false);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 18.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
ElevateWord elevateWord = new ElevateWord("Test", 2.0f, Collections.singletonList("Test"), Collections.singletonList("content"), null, null); suggester.indexer().addElevateWord(elevateWord, true); suggester.refresh(); SuggestResponse response1 = suggester.suggest().setQuery("tes").setSuggestDetail(true).execute().getResponse(); assertEquals(1, response1.getNum());
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 37K bytes - Viewed (0)