- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for encodeSimilarDocHash (0.15 sec)
-
src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java
assertEquals(value, documentHelper.encodeSimilarDocHash(hash)); hash = "$H4sIAAAAAAAAAAMAAAAAAAAAAAA"; value = "$H4sIAAAAAAAAAAMAAAAAAAAAAAA"; assertEquals(value, documentHelper.encodeSimilarDocHash(hash)); assertNull(documentHelper.encodeSimilarDocHash(null)); } public void test_decodeSimilarDocHash() { DocumentHelper documentHelper = new DocumentHelper();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
} public static String sdh(final String input) { if (StringUtil.isBlank(input)) { return input; } return ComponentUtil.getDocumentHelper().encodeSimilarDocHash(input); } public static String join(final Object input) { String[] values = null; if (input instanceof String[]) { values = (String[]) input;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 16.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
logger.debug("Failed to decode {}", hash, e); } } } return hash; } public String encodeSimilarDocHash(final String hash) { if (hash != null && !hash.startsWith(SIMILAR_DOC_HASH_PREFIX)) { try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 12K bytes - Viewed (0)