Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getContentTitle (0.09 sec)

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

            document.put("title", "");
            assertEquals("", viewHelper.getContentTitle(document));
    
            document.put("title", "111");
            assertEquals("111", viewHelper.getContentTitle(document));
    
            document.put("title", "aaa");
            assertEquals("<strong>aaa</strong>", viewHelper.getContentTitle(document));
    
            document.put("title", "AAA");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

            }
    
            // ContentTitle
            if (viewHelper != null) {
                docMap.put(fessConfig.getResponseFieldContentTitle(), viewHelper.getContentTitle(docMap));
                docMap.put(fessConfig.getResponseFieldContentDescription(), viewHelper.getContentDescription(docMap));
                docMap.put(fessConfig.getResponseFieldUrlLink(), viewHelper.getUrlLink(docMap));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 06:56:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                        if (viewHelper != null && !docMap.isEmpty()) {
                            docMap.put(fessConfig.getResponseFieldContentTitle(), viewHelper.getContentTitle(docMap));
                            docMap.put(fessConfig.getResponseFieldContentDescription(), viewHelper.getContentDescription(docMap));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            split(fessConfig.getResponseInlineMimetypes(), ",")
                    .of(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).forEach(inlineMimeTypeSet::add));
        }
    
        public String getContentTitle(final Map<String, Object> document) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            String title = DocumentUtil.getValue(document, fessConfig.getIndexFieldTitle(), String.class);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
Back to top