Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setDigest (0.13 sec)

  1. src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java

            assertEquals("1234567...", documentHelper.getDigest(responseData, "12345678901", dataMap, 10));
            assertEquals("1234567890", documentHelper.getDigest(responseData, "1234567890", dataMap, 10));
            assertEquals("123456789", documentHelper.getDigest(responseData, "123456789", dataMap, 10));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                }
            }
            // digest
            putResultDataBody(dataMap, fessConfig.getIndexFieldDigest(),
                    documentHelper.getDigest(responseData, bodyBase, dataMap, fessConfig.getCrawlerDocumentFileMaxDigestLengthAsInteger()));
            // title
            if (!hasTitle(dataMap)) {
                final String titleField = fessConfig.getIndexFieldTitle();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

        }
    
        protected int[] getSpaceChars() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return fessConfig.getCrawlerDocumentSpaceCharsAsArray();
        }
    
        public String getDigest(final ResponseData responseData, final String content, final Map<String, Object> dataMap, final int maxWidth) {
            if (content == null) {
                return StringUtil.EMPTY; // empty
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                putResultDataBody(dataMap, fessConfig.getIndexFieldDigest(), digest);
            } else {
                putResultDataBody(dataMap, fessConfig.getIndexFieldDigest(),
                        documentHelper.getDigest(responseData, body, dataMap, fessConfig.getCrawlerDocumentHtmlMaxDigestLengthAsInteger()));
            }
            // segment
            putResultDataBody(dataMap, fessConfig.getIndexFieldSegment(), sessionId);
            // host
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top