Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createTextFragmentsByHighlight (0.15 sec)

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

                    if (Constants.TEXT_FRAGMENT_TYPE_HIGHLIGHT.equals(fessConfig.getQueryHighlightTextFragmentType())) {
                        docMap.put(Constants.TEXT_FRAGMENTS,
                                viewHelper.createTextFragmentsByHighlight(highlightFields.values().toArray(n -> new HighlightField[n])));
                    }
                }
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
    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

                    return value + ELLIPSIS;
                }
                return value;
            }
            return null;
        }
    
        public TextFragment[] createTextFragmentsByHighlight(final HighlightField[] fields) {
            final List<TextFragment> list = new ArrayList<>();
            for (final HighlightField field : fields) {
                final Text[] fragments = field.fragments();
    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