## 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

    Methods in org.apache.lucene.search.uhighlight that return Passage
    Modifier and Type | Method and 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 with parameters of type Passage
    Modifier and Type | Method and Description
    --- | ---
    `abstract Object` | PassageFormatter.`format(Passage[] passages, String content)` Formats the top `passages` from `content` into a human-readable text snippet.
    `String` | DefaultPassageFormatter.`format(Passage[] passages, String content)`
    `float` | PassageScorer.`score(Passage passage, int contentLength)`

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.