Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for fragments (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/entity/HighlightInfo.java

        }
    
        /**
         * Gets the number of fragments.
         *
         * @return the maximum number of highlighted fragments
         */
        public int getNumOfFragments() {
            return numOfFragments;
        }
    
        /**
         * Sets the number of fragments with fluent interface.
         *
         * @param numOfFragments the maximum number of highlighted fragments
         * @return this HighlightInfo instance for method chaining
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 10:17:07 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/ViewHelper.java

        /**
         * Creates highlighted text from highlight field fragments.
         *
         * @param highlightField the highlight field containing fragments
         * @return the combined highlighted text
         */
        public String createHighlightText(final HighlightField highlightField) {
            final Text[] fragments = highlightField.fragments();
            if (fragments != null && fragments.length != 0) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
  3. .github/workflows/check-markdown-links.yml

              # - Kotlin's Module.md - because it's a part of the Kotlin DSL docs
              args: >
                --no-progress --offline '**/*.md' --include-fragments
                --exclude-path 'platforms/documentation/docs/src/docs/release/notes.md'
                --exclude-path 'platforms/documentation/docs/src/docs/release/notes-template.md'
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 25 22:06:44 GMT 2026
    - 920 bytes
    - Click Count (0)
  4. 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)
  5. src/main/resources/fess_config.properties

    query.highlight.boundary.position.detect=true
    # Type for text fragment in query highlighting.
    query.highlight.text.fragment.type=query
    # Size for text fragment in query highlighting.
    query.highlight.text.fragment.size=3
    # Prefix length for text fragment in query highlighting.
    query.highlight.text.fragment.prefix.length=5
    # Suffix length for text fragment in query highlighting.
    query.highlight.text.fragment.suffix.length=5
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 59.3K bytes
    - Click Count (0)
  6. 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)
  7. src/main/java/org/codelibs/fess/chat/ChatClient.java

            public HighlightInfo getHighlightInfo() {
                return new HighlightInfo().fragmentSize(Integer.parseInt(fessConfig.getOrDefault("rag.chat.highlight.fragment.size", "500")))
                        .numOfFragments(Integer.parseInt(fessConfig.getOrDefault("rag.chat.highlight.number.of.fragments", "3")))
                        .preTags(StringUtil.EMPTY)
                        .postTags(StringUtil.EMPTY);
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  8. 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)
  9. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

            String parentUrl = "http://example.com/parent?query=test&id=123";
            String url = "http://example.com/child#fragment";
            ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url);
    
            assertNotNull(exception);
            assertEquals("Not Found: http://example.com/child#fragment Parent: http://example.com/parent?query=test&id=123",
                    exception.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

        public Query toQuery(final QueryShardContext context) throws IOException {
            return queryBuilder.toQuery(context);
        }
    
        /**
         * Returns whether this query builder is a fragment.
         *
         * @return true if this is a fragment, false otherwise
         */
        @Override
        public boolean isFragment() {
            return queryBuilder.isFragment();
        }
    
        /**
         * Sets the query name.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
Back to Top