Uses of Class
org.apache.lucene.search.uhighlight.Passage
-
Packages that use Passage Package Description org.apache.lucene.search.uhighlight The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis. -
-
Uses of Passage in org.apache.lucene.search.uhighlight
Fields in org.apache.lucene.search.uhighlight with type parameters of type Passage Modifier and Type Field Description protected Comparator<Passage>FieldHighlighter. passageSortComparatorMethods in org.apache.lucene.search.uhighlight that return Passage Modifier and Type Method Description protected Passage[]FieldHighlighter. getSummaryPassagesNoHighlight(int maxPassages)Called to summarize a document when no highlights were found.protected Passage[]FieldHighlighter. highlightOffsetsEnums(OffsetsEnum off)Methods in org.apache.lucene.search.uhighlight that return types with arguments of type Passage Modifier and Type Method Description protected Comparator<Passage>UnifiedHighlighter. getPassageSortComparator(String field)Returns theComparatorto use for finally sorting passages.Methods in org.apache.lucene.search.uhighlight with parameters of type Passage Modifier and Type Method Description StringDefaultPassageFormatter. format(Passage[] passages, String content)abstract ObjectPassageFormatter. format(Passage[] passages, String content)Formats the toppassagesfromcontentinto a human-readable text snippet.floatPassageScorer. score(Passage passage, int contentLength)Method parameters in org.apache.lucene.search.uhighlight with type arguments of type Passage Modifier and Type Method Description protected FieldHighlighterUnifiedHighlighter. newFieldHighlighter(String field, FieldOffsetStrategy fieldOffsetStrategy, BreakIterator breakIterator, PassageScorer passageScorer, int maxPassages, int maxNoHighlightPassages, PassageFormatter passageFormatter, Comparator<Passage> passageSortComparator)UnifiedHighlighter.BuilderUnifiedHighlighter.Builder. withPassageSortComparator(Comparator<Passage> value)Constructor parameters in org.apache.lucene.search.uhighlight with type arguments of type Passage Constructor Description FieldHighlighter(String field, FieldOffsetStrategy fieldOffsetStrategy, BreakIterator breakIterator, PassageScorer passageScorer, int maxPassages, int maxNoHighlightPassages, PassageFormatter passageFormatter, Comparator<Passage> passageSortComparator)
-