Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Interface IBoundaryScanner

    Finds fragment boundaries: pluggable into BaseFragmentsBuilder

    Namespace: Lucene.Net.Search.VectorHighlight
    Assembly: Lucene.Net.Highlighter.dll
    Syntax
    public interface IBoundaryScanner

    Methods

    FindEndOffset(StringBuilder, int)

    Scan forward to find start offset.

    Declaration
    int FindEndOffset(StringBuilder buffer, int start)
    Parameters
    Type Name Description
    StringBuilder buffer

    scanned object

    int start

    start offset to begin

    Returns
    Type Description
    int

    the found end offset

    FindStartOffset(StringBuilder, int)

    Scan backward to find end offset.

    Declaration
    int FindStartOffset(StringBuilder buffer, int start)
    Parameters
    Type Name Description
    StringBuilder buffer

    scanned object

    int start

    offset to begin

    Returns
    Type Description
    int

    the found start offset

    Back to top Copyright © 2024 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.