Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for fragmentSize (0.06 seconds)

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

         */
        public int getFragmentSize() {
            return fragmentSize;
        }
    
        /**
         * Sets the fragment size with fluent interface.
         *
         * @param fragmentSize the fragment size in characters
         * @return this HighlightInfo instance for method chaining
         */
        public HighlightInfo fragmentSize(final int fragmentSize) {
            this.fragmentSize = fragmentSize;
            return this;
        }
    
        /**
    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/opensearch/client/SearchEngineClient.java

                queryFieldConfig.highlightedFields(
                        stream -> stream.forEach(hf -> highlightBuilder.field(new HighlightBuilder.Field(hf).highlighterType(highlighterType)
                                .fragmentSize(fragmentSize)
                                .numOfFragments(numOfFragments)
                                .boundaryChars(boundaryChars)
                                .boundaryMaxScan(boundaryMaxScan)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
  3. src/main/java/org/codelibs/fess/chat/ChatClient.java

            public FacetInfo getFacetInfo() {
                return null;
            }
    
            @Override
            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")))
    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)
  4. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            if (width < TABLET_WIDTH) {
                float ratio = (float) width / (float) TABLET_WIDTH;
                if (ratio < 0.5) {
                    ratio = 0.5f;
                }
                highlightInfo.fragmentSize((int) (highlightInfo.getFragmentSize() * ratio));
            }
        }
    
        /**
         * Gets the URL link for a document with proper protocol handling.
         * Handles file, SMB, FTP, and HTTP protocols.
         *
    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)
Back to Top