- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for highlight_ (0.07 sec)
-
src/test/java/org/codelibs/fess/helper/QueryHelperTest.java
assertEquals("additional query", queryHelper.getAdditionalQuery()); } public void test_setHighlightPrefix() { queryHelper.setHighlightPrefix("highlight_"); assertEquals("highlight_", queryHelper.getHighlightPrefix()); } public void test_getHighlightPrefix() { assertEquals("hl_", queryHelper.getHighlightPrefix()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.6K bytes - Viewed (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); } public void test_setHighlightedFields() { String[] fields = { "highlight1", "highlight2", "highlight3" }; queryFieldConfig.setHighlightedFields(fields);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
/** Fields that should be highlighted in search results */ protected String[] highlightedFields; /** Original highlight tag prefix */ protected String originalHighlightTagPre = ""; /** Original highlight tag suffix */ protected String originalHighlightTagPost = ""; /** Configured highlight tag prefix */ protected String highlightTagPre;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/QueryContext.java
} return Collections.emptyList(); } /** * Adds a query term to the highlighted query set. * @param text The query text to highlight. */ public void addHighlightedQuery(final String text) { if (highlightedQuerySet != null) { highlightedQuerySet.add(text); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java
assertNotNull(queryBuilder); // Query was processed successfully } 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, "***"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java
import org.opensearch.common.document.DocumentField; import org.opensearch.search.SearchHit; import org.opensearch.search.SearchHits; import org.opensearch.search.aggregations.Aggregations; import org.opensearch.search.fetch.subphase.highlight.HighlightField; /** * Default implementation of RankFusionSearcher that performs standard OpenSearch queries. * This searcher handles query execution, response processing, and document highlighting. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java
/** * Retrieves and displays cached content for a specific document. * * @param form the cache form containing document ID and highlight query * @return ActionResponse containing the cached document content or error redirect */ @Execute public ActionResponse index(final CacheForm form) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 3.9K bytes - Viewed (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 public void test_convertFuzzyQuery_contextUpdates() { QueryContext context = new QueryContext("test", false); String searchText = "fuzzytext"; Term term = new Term("title", searchText);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (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
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java
searchRenderData.setAppendHighlightParams(""); assertEquals("", searchRenderData.getAppendHighlightParams()); // Test with parameter string String params = "&highlight=true&fields=title,content"; searchRenderData.setAppendHighlightParams(params); assertEquals(params, searchRenderData.getAppendHighlightParams()); } public void test_setAndGetExecTime() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 23.3K bytes - Viewed (0)