Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Namespace Lucene.Net.Search.PostingsHighlight

    Classes

    DefaultPassageFormatter

    Creates a formatted snippet from the top passages.

    The default implementation marks the query terms as bold, and places ellipses between unconnected passages.

    ICUPostingsHighlighter

    Simple highlighter that does not analyze fields nor use term vectors. Instead it requires DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS.

    Passage

    Represents a passage (typically a sentence of the document).

    A passage contains NumMatches highlights from the query, and the offsets and query terms that correspond with each match.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk

    PassageFormatter

    Creates a formatted snippet from the top passages.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk

    PassageScorer

    Ranks passages found by ICUPostingsHighlighter.

    Each passage is scored as a miniature document within the document. The final score is computed as norm * ∑ (weight * tf). The default implementation is norm * BM25.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk

    WholeBreakIterator

    Just produces one single fragment for the entire text

    Back to top Copyright © 2021 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.