Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 19 for highlighting (0.04 seconds)

  1. 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)
  2. 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)
  3. src/main/java/org/codelibs/fess/entity/SearchRenderData.java

     * Data container for search results rendering.
     *
     * This class holds all the data needed to render search results in the UI,
     * including the actual search results, pagination information, facet data,
     * execution timing, and highlighting parameters.
     */
    public class SearchRenderData {
    
        /** List of search result documents. */
        protected List<Map<String, Object>> documentItems;
    
        /** Facet response containing aggregated search facets. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                //we're making an assumption that all <pre> elements contain java code
                //this should mostly be true :)
                //if it isn't true then the syntax highlighting won't spoil the view too much anyway
                newElement.setAttribute("language", "java");
                nodes.push(newElement);
                return true;
            }
    
            @Override
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 29.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            if (input == null) {
                return StringUtil.EMPTY;
            }
            return input.toString().replaceAll(regex, replacement);
        }
    
        /**
         * Formats code content with syntax highlighting and line numbers.
         *
         * @param prefix the line number prefix pattern
         * @param style the CSS class name for styling
         * @param mimetype the MIME type of the content (currently unused)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  10. 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)
Back to Top