Uses of Class
org.apache.lucene.search.uhighlight.Passage
Packages that use Passage
Package
Description
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term
vectors, or analysis.
-
Uses of Passage in org.apache.lucene.search.uhighlight
Methods in org.apache.lucene.search.uhighlight that return PassageModifier and TypeMethodDescriptionprotected Passage[]
FieldHighlighter.getSummaryPassagesNoHighlight
(int maxPassages) Called to summarize a document when no highlights were found.protected Passage[]
FieldHighlighter.highlightOffsetsEnums
(OffsetsEnum off) private Passage
FieldHighlighter.maybeAddPassage
(PriorityQueue<Passage> passageQueue, PassageScorer scorer, Passage passage, int contentLength) Methods in org.apache.lucene.search.uhighlight with parameters of type PassageModifier and TypeMethodDescriptionabstract Object
Formats the toppassages
fromcontent
into a human-readable text snippet.private Passage
FieldHighlighter.maybeAddPassage
(PriorityQueue<Passage> passageQueue, PassageScorer scorer, Passage passage, int contentLength) float
Method parameters in org.apache.lucene.search.uhighlight with type arguments of type PassageModifier and TypeMethodDescriptionprivate Passage
FieldHighlighter.maybeAddPassage
(PriorityQueue<Passage> passageQueue, PassageScorer scorer, Passage passage, int contentLength)