- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 31 for highlighting (0.06 seconds)
-
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) -
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) -
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) -
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) -
src/main/java/org/codelibs/fess/entity/QueryContext.java
* Processes special query prefixes (allinurl:, allintitle:) and initializes * request-scoped attributes for highlighting and field logging. * @param queryString The query string to process. * @param isQuery Whether this is a search query (enables highlighting and logging). */ @SuppressWarnings("unchecked") public QueryContext(final String queryString, final boolean isQuery) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Tue Aug 19 14:09:36 GMT 2025 - 9.4K bytes - Click Count (0) -
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) -
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) -
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) -
src/main/java/org/codelibs/fess/app/web/api/ApiResult.java
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) -
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)