Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for fragments (0.04 seconds)

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

            ViewHelper.TextFragment[] fragments = new ViewHelper.TextFragment[2];
            fragments[0] = new ViewHelper.TextFragment(null, "test", null, null);
            fragments[1] = new ViewHelper.TextFragment(null, "example", null, null);
            document.put("text_fragments", fragments);
    
            String result = viewHelper.appendHTMLSearchWord(document, url);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/Constants.java

        // Text Fragment Constants
        // ============================================================
    
        /** Text fragments feature identifier. */
        public static final String TEXT_FRAGMENTS = "text_fragments";
    
        /** Text fragment type for query highlighting. */
        public static final String TEXT_FRAGMENT_TYPE_QUERY = "query";
    
        /** Text fragment type for result highlighting. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 35.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            exp = "file://C .doc";
            assertEquals(exp, transformer.decodeUrlAsName(url, true));
    
            url = "http://example.com/foo/" + encodeUrl("#") + "/@@bar/index.html#fragment?foo=bar";
            exp = "http://example.com/foo/#/@@bar/index.html#fragment?foo=bar";
            assertEquals(exp, transformer.decodeUrlAsName(url, false));
        }
    
        @Test
        public void test_getFileName_ok() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java

        }
    
        @Test
        public void test_constructor_withSpecialCharactersInUrl() {
            // Test with special characters in URL
            String url = "http://example.com/test?param=value&other=value#fragment";
            String message = "Error with special URL";
            Exception cause = new RuntimeException("Error cause");
    
            DataStoreCrawlingException exception = new DataStoreCrawlingException(url, message, cause);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 16.6K bytes
    - Click Count (0)
Back to Top