Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 15 for highlighting (0.09 seconds)

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

    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * Entity class containing highlighting configuration for search result text highlighting.
     * This class manages highlighting parameters such as fragment size, number of fragments,
     * and highlighting type for displaying search query matches in result snippets.
     */
    public class HighlightInfo {
        /** The highlighting type (e.g., plain, html). */
        private String type;
    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/resources/fess_config.properties

    # Whether to detect boundary position in query highlighting.
    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
    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)
  3. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            queryContext = new QueryContext("test", true);
            assertEquals("test", queryContext.getQueryString());
    
            // Verify that highlighting and field log are initialized
            assertNotNull(getMockRequest().getAttribute(Constants.HIGHLIGHT_QUERIES));
            assertNotNull(getMockRequest().getAttribute(Constants.FIELD_LOGS));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

            }
    
            /**
             * The list of documents returned in the search results.
             */
            protected List<Map<String, Object>> docs;
            /**
             * Parameters for highlighting search results.
             */
            protected String highlightParams;
            /**
             * The execution time of the search query.
             */
            protected String execTime;
            /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/Constants.java

        /** 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. */
        public static final String TEXT_FRAGMENT_TYPE_HIGHLIGHT = "highlight";
    
        /** Crawler statistics key identifier. */
    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)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

         * comment: Unicode terminal characters for query highlighting.
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getQueryHighlightTerminalChars();
    
        /**
         * Get the value for the key 'query.highlight.fragment.size'. <br>
         * The value is, e.g. 60 <br>
         * comment: Fragment size for query highlighting.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 576.9K bytes
    - Click Count (2)
  7. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

            }
    
            /**
             * Sets the highlighting information.
             *
             * @param highlightInfo the highlighting configuration
             * @return this builder for method chaining
             */
            public SearchConditionBuilder highlightInfo(final HighlightInfo highlightInfo) {
                this.highlightInfo = highlightInfo;
                return this;
            }
    
            /**
    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)
  8. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            viewHelper.init();
    
            HighlightInfo highlightInfo = new HighlightInfo();
            int originalSize = highlightInfo.getFragmentSize();
    
            viewHelper.updateHighlightInfo(highlightInfo, 500);
            Assertions.assertEquals((int) (originalSize * 0.65), highlightInfo.getFragmentSize(), 10);
    
            highlightInfo = new HighlightInfo();
            viewHelper.updateHighlightInfo(highlightInfo, 300);
    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)
  9. 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();
                }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  10. 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];
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 26.5K bytes
    - Click Count (0)
Back to Top