- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for createSuggestTextId (0.11 sec)
-
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
} this.docFreq = docFreq; this.queryFreq = queryFreq; timestamp = ZonedDateTime.now(); emptySource = createEmptyMap(); id = SuggestUtil.createSuggestTextId(this.text); } public String getText() { return text; } public String[][] getReadings() { return readings; } public String[] getTags() {
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/suggest/util/SuggestUtil.java
private static final Base64.Encoder encoder = Base64.getEncoder(); private static final int ID_MAX_LENGTH = 445; private SuggestUtil() { } public static String createSuggestTextId(final String text) { final String id = encoder.encodeToString(text.getBytes(CoreLibConstants.CHARSET_UTF_8)); if (id.length() > 445) { return id.substring(0, ID_MAX_LENGTH); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 11.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
final String normalized = normalizer.normalize(elevateWord, ""); settings.elevateWord().delete(normalized); if (apply) { return delete(SuggestUtil.createSuggestTextId(normalized)); } return new SuggestDeleteResponse(null, 0); } public SuggestIndexResponse restoreElevateWord() { final long start = System.currentTimeMillis();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 26.1K bytes - Viewed (0)