- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 16 for highlighted (0.05 seconds)
-
src/main/java/org/codelibs/fess/entity/HighlightInfo.java
*/ public class HighlightInfo { /** The highlighting type (e.g., plain, html). */ private String type; /** The size of each highlighted fragment in characters. */ private int fragmentSize; /** The maximum number of highlighted fragments to return. */ private int numOfFragments; /** The offset for fragment positioning. */ private int fragmentOffset;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/test/java/org/codelibs/fess/helper/ViewHelperTest.java
@Test public void test_removeHighlightTag() { ViewHelper viewHelper = new ViewHelper(); viewHelper.init(); String text = "highlighted text"; String result = viewHelper.removeHighlightTag(text); assertEquals("highlighted text", result); text = "normal text"; result = viewHelper.removeHighlightTag(text); assertEquals("normal text", result);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) -
src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java
final String contentTitle = (String) item.get("content_title"); assertTrue(contentTitle.contains("<strong>CodeLibs</strong>"), "content_title should contain highlighted 'CodeLibs': " + contentTitle); } private void testDeleteSearchList() { final Map<String, Object> requestBody = new HashMap<>(); requestBody.put("q", "CodeLibs");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Mar 30 14:01:34 GMT 2026 - 13.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/QueryContextTest.java
queryContext.addFieldLog("title", "search"); queryContext.addFieldLog("title", "term"); queryContext.addFieldLog(Constants.DEFAULT_FIELD, "search term"); // Add highlighted queries queryContext.addHighlightedQuery("search"); queryContext.addHighlightedQuery("term"); // Skip role query queryContext.skipRoleQuery(); // Verify final state
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/resources/fess_config.properties
# Tag to use before highlighted text. query.highlight.tag.pre=<strong> # Tag to use after highlighted text. query.highlight.tag.post=</strong> # Boundary characters for query highlighting. query.highlight.boundary.chars=u0009u000Au0013u0020 # Maximum scan for query highlight boundaries. query.highlight.boundary.max.scan=20 # Scanner type for query highlight boundaries. query.highlight.boundary.scanner=chars
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/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java
String[] fields = { "highlight1", "highlight2", "highlight3" }; queryFieldConfig.setHighlightedFields(fields); String[] result = queryFieldConfig.getHighlightedFields(); assertSame(fields, result); } @Test public void test_setHighlightedFields() { String[] fields = { "highlight1", "highlight2", "highlight3" };
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 33.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java
/** The key of the configuration. e.g. <strong> */ String QUERY_HIGHLIGHT_TAG_PRE = "query.highlight.tag.pre"; /** The key of the configuration. e.g. </strong> */ String QUERY_HIGHLIGHT_TAG_POST = "query.highlight.tag.post"; /** The key of the configuration. e.g. u0009u000Au0013u0020 */ String QUERY_HIGHLIGHT_BOUNDARY_CHARS = "query.highlight.boundary.chars";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) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
} @Test public void test_matches_withCss() { PrunedTag tag = new PrunedTag("div"); tag.setCss("highlight"); // Node with matching CSS class MockNode nodeWithClass = new MockNode("div"); nodeWithClass.addAttribute("class", "highlight"); assertTrue(tag.matches(nodeWithClass)); // Node with multiple classes including targetCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java
// Query was processed successfully } @Test public void test_convertWildcardQuery_emptyHighlight() throws Exception { // Test with only wildcards (no highlight text) QueryContext queryContext = new QueryContext("***", false); WildcardQuery wildcardQuery = new WildcardQuery(new Term(Constants.DEFAULT_FIELD, "***"));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/FuzzyQueryCommandTest.java
assertNotNull(result); // Just check it's a FuzzyQueryBuilder assertTrue(result instanceof FuzzyQueryBuilder); } // Test field log and highlight additions @Test public void test_convertFuzzyQuery_contextUpdates() { QueryContext context = new QueryContext("test", false); String searchText = "fuzzytext";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.7K bytes - Click Count (0)