Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fragmentSize (0.64 sec)

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

        public HighlightInfo type(final String type) {
            this.type = type;
            return this;
        }
    
        public int getFragmentSize() {
            return fragmentSize;
        }
    
        public HighlightInfo fragmentSize(final int fragmentSize) {
            this.fragmentSize = fragmentSize;
            return this;
        }
    
        public int getNumOfFragments() {
            return numOfFragments;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/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)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  3. 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));
            }
        }
    
        public String getUrlLink(final Map<String, Object> document) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    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