Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createHighlightText (0.12 sec)

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

            try {
                if (highlightFields != null) {
                    highlightFields.values().stream().forEach(highlightField -> {
                        final String text = viewHelper.createHighlightText(highlightField);
                        if (text != null) {
                            docMap.put(hlPrefix + highlightField.getName(), text);
                        }
                    });
    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

                });
            } catch (final ExecutionException e) {
                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