Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for HighlightField (0.07 sec)

  1. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

            final Map<String, HighlightField> highlightFields = searchHit.getHighlightFields();
            try {
                if (highlightFields != null) {
                    highlightFields.values().stream().forEach(highlightField -> {
                        final String text = viewHelper.createHighlightText(highlightField);
                        if (text != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 06:56:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                throw new FessSystemException("Cannot load facet from cache.", e);
            }
        }
    
        public String createHighlightText(final HighlightField highlightField) {
            final Text[] fragments = highlightField.fragments();
            if (fragments != null && fragments.length != 0) {
                final String[] texts = new String[fragments.length];
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
Back to top