Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for replaceHighlightQueries (0.35 sec)

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

                    viewHelper.replaceHighlightQueries(text, queries));
    
            text = "abc";
            queries = new String[] { "123" };
            assertEquals("abc", viewHelper.replaceHighlightQueries(text, queries));
    
            text = "123";
            queries = new String[] { "123" };
            assertEquals("<strong>123</strong>", viewHelper.replaceHighlightQueries(text, queries));
    
            text = "abc123efg";
    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/helper/ViewHelper.java

                }
                cache = ComponentUtil.getPathMappingHelper().replaceUrls(cache);
                if (queries != null && queries.length > 0) {
                    doc.put(HL_CACHE, replaceHighlightQueries(cache, queries));
                } else {
                    doc.put(HL_CACHE, cache);
                }
            } else {
                doc.put(fessConfig.getIndexFieldCache(), StringUtil.EMPTY);
    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