Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for highlightInfo (0.05 sec)

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

            return type;
        }
    
        /**
         * Sets the highlighting type with fluent interface.
         *
         * @param type the highlighting type to set
         * @return this HighlightInfo instance for method chaining
         */
        public HighlightInfo type(final String type) {
            this.type = type;
            return this;
        }
    
        /**
         * Gets the fragment size.
         *
         * @return the fragment size in characters
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            viewHelper.init();
    
            HighlightInfo highlightInfo = new HighlightInfo();
            int originalSize = highlightInfo.getFragmentSize();
    
            viewHelper.updateHighlightInfo(highlightInfo, 500);
            assertEquals((int) (originalSize * 0.65), highlightInfo.getFragmentSize(), 10);
    
            highlightInfo = new HighlightInfo();
            viewHelper.updateHighlightInfo(highlightInfo, 300);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

                }
    
                @Override
                public String getSimilarDocHash() {
                    return null;
                }
    
                @Override
                public HighlightInfo getHighlightInfo() {
                    return new HighlightInfo();
                }
    
                @Override
                public boolean hasConditionQuery() {
                    return conditions != null && !conditions.isEmpty();
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ViewHelper.java

         * Adjusts fragment size for mobile devices.
         *
         * @return the highlight information
         */
        public HighlightInfo createHighlightInfo() {
            return LaRequestUtil.getOptionalRequest().map(req -> {
                final HighlightInfo highlightInfo = new HighlightInfo();
                final String widthStr = req.getParameter(SCREEN_WIDTH);
                if (StringUtil.isNotBlank(widthStr)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

            Map<String, String[]> conditions = new HashMap<>();
            String[] languages = new String[0];
            GeoInfo geoInfo = null;
            FacetInfo facetInfo = null;
            HighlightInfo highlightInfo = null;
            String sort = "";
            int startPosition = 0;
            int pageSize = 10;
            int offset = 0;
            String[] extraQueries = new String[0];
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/searchlist/ListForm.java

            return null;
        }
    
        @Override
        public FacetInfo getFacetInfo() {
            return null;
        }
    
        @Override
        public HighlightInfo getHighlightInfo() {
            return new HighlightInfo();
        }
    
        @Override
        public String getSort() {
            return sort;
        }
    
        /**
         * Initializes the form with default values from configuration.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            @Override
            public String getSimilarDocHash() {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public HighlightInfo getHighlightInfo() {
                return new HighlightInfo();
            }
        }
    
        @Override
        protected void writeHeaders(final HttpServletResponse response) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/base/SearchForm.java

    import java.util.Locale;
    import java.util.Map;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.entity.FacetInfo;
    import org.codelibs.fess.entity.GeoInfo;
    import org.codelibs.fess.entity.HighlightInfo;
    import org.codelibs.fess.entity.SearchRequestParams;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.web.util.LaRequestUtil;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/rank/fusion/RankFusionSearcherTest.java

    import java.util.HashMap;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    
    import org.codelibs.fess.entity.FacetInfo;
    import org.codelibs.fess.entity.GeoInfo;
    import org.codelibs.fess.entity.HighlightInfo;
    import org.codelibs.fess.entity.SearchRequestParams;
    import org.codelibs.fess.mylasta.action.FessUserBean;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.FacetResponse;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                        .size(params.getPageSize())
                        .facetInfo(params.getFacetInfo())
                        .geoInfo(params.getGeoInfo())
                        .highlightInfo(params.getHighlightInfo())
                        .similarDocHash(params.getSimilarDocHash())
                        .responseFields(params.getResponseFields())
                        .searchRequestType(params.getType())
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top