Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for highlighter (0.05 sec)

  1. 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)
  2. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                                .noMatchSize(noMatchSize)
                                .order(order)
                                .phraseLimit(phraseLimit)).encoder(encoder)));
                searchRequestBuilder.highlighter(highlightBuilder);
            }
    
            /**
             * Builds the sort configuration.
             *
             * @param queryContext the query context
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                throw new FessSystemException("Cannot load facet from cache.", e);
            }
        }
    
        /**
         * Creates highlighted text from highlight field fragments.
         *
         * @param highlightField the highlight field containing fragments
         * @return the combined highlighted text
         */
        public String createHighlightText(final HighlightField highlightField) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/QueryContext.java

         */
        public void setDefaultField(final String defaultField) {
            this.defaultField = defaultField;
        }
    
        /**
         * Gets the set of highlighted query terms.
         * @return The set of highlighted query terms, or empty set if not initialized.
         */
        public Set<String> getHighlightedQuerySet() {
            return highlightedQuerySet != null ? highlightedQuerySet : new HashSet<>();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. docs/en/mkdocs.yml

      - navigation.instant
      - navigation.instant.prefetch
      - navigation.instant.progress
      - navigation.path
      - navigation.tabs
      - navigation.tabs.sticky
      - navigation.top
      - navigation.tracking
      - search.highlight
      - search.share
      - search.suggest
      - toc.follow
      icon:
        repo: fontawesome/brands/github-alt
      logo: img/icon-white.svg
      favicon: img/favicon.png
      language: en
    repo_name: fastapi/fastapi
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top