## Uses of Class
org.apache.lucene.search.uhighlight.PassageFormatter

- Packages that use PassageFormatter
  Package | Description
  --- | ---
  org.apache.lucene.search.uhighlight | The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis.

- - ### Uses of PassageFormatter in org.apache.lucene.search.uhighlight

    Subclasses of PassageFormatter in org.apache.lucene.search.uhighlight
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultPassageFormatter` Creates a formatted snippet from the top passages.

    Fields in org.apache.lucene.search.uhighlight declared as PassageFormatter
    Modifier and Type | Field and Description
    --- | ---
    `protected PassageFormatter` | FieldHighlighter.`passageFormatter`

    Methods in org.apache.lucene.search.uhighlight that return PassageFormatter
    Modifier and Type | Method and Description
    --- | ---
    `protected PassageFormatter` | UnifiedHighlighter.`getFormatter(String field)` Returns the `PassageFormatter` to use for formatting passages into highlighted snippets.

    Methods in org.apache.lucene.search.uhighlight with parameters of type PassageFormatter
    Modifier and Type | Method and Description
    --- | ---
    `void` | UnifiedHighlighter.`setFormatter(PassageFormatter formatter)`

    Constructors in org.apache.lucene.search.uhighlight with parameters of type PassageFormatter
    Constructor and Description
    `FieldHighlighter(String field, FieldOffsetStrategy fieldOffsetStrategy, BreakIterator breakIterator, PassageScorer passageScorer, int maxPassages, int maxNoHighlightPassages, PassageFormatter passageFormatter)`

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