Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for highlighting (0.06 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/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)) {
    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. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

    /**
     * Default implementation of RankFusionSearcher that performs standard OpenSearch queries.
     * This searcher handles query execution, response processing, and document highlighting.
     */
    public class DefaultSearcher extends RankFusionSearcher {
    
        /** Logger for this class. */
        private static final Logger logger = LogManager.getLogger(DefaultSearcher.class);
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 09:24:04 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  4. 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)
  5. MIGRATION.md

    | Schema Fields | Define in crawl configuration or use default fields |
    | RequestHandlers | Use Fess JSON API with parameters |
    | Facet Fields | Configure in Fess search settings |
    | Highlighting | Built-in in Fess search results |
    
    ---
    
    ### Other Search Systems
    
    For proprietary or custom search systems:
    
    #### API-Based Migration
    
    **Step 1: Extract Documents**
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 12:40:11 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

    /**
     * Configuration class for query field mappings in the Fess search engine.
     * This class manages field configurations for various query operations including
     * response fields, search fields, facet fields, sort fields, and highlighting.
     * It initializes field mappings from the FessConfig and provides methods to
     * query field properties and capabilities.
     */
    public class QueryFieldConfig {
    
        /**
         * Default constructor.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top