Uses of Interface
org.apache.lucene.search.matchhighlight.MatchHighlighter.FieldValueHighlighter
Packages that use MatchHighlighter.FieldValueHighlighter
Package
Description
This package contains several components useful to build a highlighter on top of the
Matches API.-
Uses of MatchHighlighter.FieldValueHighlighter in org.apache.lucene.search.matchhighlight
Methods in org.apache.lucene.search.matchhighlight that return MatchHighlighter.FieldValueHighlighterModifier and TypeMethodDescriptionFieldValueHighlighters.highlighted(int maxPassageWindow, int maxPassages, PassageFormatter passageFormatter, Predicate<String> matchFields) Highlights fields matching predicatematchFieldsonly if they contained query matches.FieldValueHighlighters.maxLeadingCharacters(int maxLeadingCharacters, String ellipsis, Set<String> fields) Displays up tomaxLeadingCharactersof the field's value, regardless of whether it contained highlights or not.MatchHighlighter.FieldValueHighlighter.or(MatchHighlighter.FieldValueHighlighter other) Returns a new field value highlighter that is a combination of this one and another one.FieldValueHighlighters.skipRemaining()Matches all fields and omits their value in the output (so that no highlight or value is emitted).FieldValueHighlighters.verbatimValue(String field, String... moreFields) Always returns raw field values, no highlighting or value truncation is applied.Methods in org.apache.lucene.search.matchhighlight with parameters of type MatchHighlighter.FieldValueHighlighterModifier and TypeMethodDescriptionMatchHighlighter.appendFieldHighlighter(MatchHighlighter.FieldValueHighlighter highlighter) Append a new highlighter to field highlighters chain.MatchHighlighter.FieldValueHighlighter.or(MatchHighlighter.FieldValueHighlighter other) Returns a new field value highlighter that is a combination of this one and another one.