- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for truncate (0.05 sec)
-
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
* Creates a unique identifier for the given text by encoding it to a Base64 string. * If the encoded string exceeds the maximum allowed length, it truncates the string * to the specified maximum length. * * @param text the input text to be encoded * @return the encoded string, truncated if necessary */ public static String createSuggestTextId(final String text) {Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sun Nov 23 11:21:40 UTC 2025 - 17.5K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
} String longText = sb.toString(); String id = SuggestUtil.createSuggestTextId(longText); assertNotNull(id); assertEquals(445, id.length()); // Should be truncated to ID_MAX_LENGTH } @Test public void testParseQuery() { // Test normal query String query = "test query"; String field = "content";Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 26.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
return fessConfig.getCrawlerDocumentSpaceCharsAsArray(); } /** * Creates a digest (abbreviated summary) of document content. * Truncates and normalizes content to create a summary suitable for display. * * @param responseData the response data from crawling (not currently used) * @param content the content to create a digest from
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 17.4K bytes - Viewed (0)