Show / Hide Table of Contents

    Class SimpleBoundaryScanner

    Simple boundary scanner implementation that divides fragments based on a set of separator characters.

    Inheritance
    System.Object
    SimpleBoundaryScanner
    Implements
    IBoundaryScanner
    Namespace: Lucene.Net.Search.VectorHighlight
    Assembly: Lucene.Net.Highlighter.dll
    Syntax
    public class SimpleBoundaryScanner : object, IBoundaryScanner

    Constructors

    | Improve this Doc View Source

    SimpleBoundaryScanner()

    Declaration
    public SimpleBoundaryScanner()
    | Improve this Doc View Source

    SimpleBoundaryScanner(Char[])

    Declaration
    public SimpleBoundaryScanner(char[] boundaryChars)
    Parameters
    Type Name Description
    System.Char[] boundaryChars
    | Improve this Doc View Source

    SimpleBoundaryScanner(Int32)

    Declaration
    public SimpleBoundaryScanner(int maxScan)
    Parameters
    Type Name Description
    System.Int32 maxScan
    | Improve this Doc View Source

    SimpleBoundaryScanner(Int32, ISet<Char>)

    Declaration
    public SimpleBoundaryScanner(int maxScan, ISet<char> boundaryChars)
    Parameters
    Type Name Description
    System.Int32 maxScan
    ISet<System.Char> boundaryChars
    | Improve this Doc View Source

    SimpleBoundaryScanner(Int32, Char[])

    Declaration
    public SimpleBoundaryScanner(int maxScan, char[] boundaryChars)
    Parameters
    Type Name Description
    System.Int32 maxScan
    System.Char[] boundaryChars

    Fields

    | Improve this Doc View Source

    DEFAULT_BOUNDARY_CHARS

    Declaration
    public static readonly char[] DEFAULT_BOUNDARY_CHARS
    Field Value
    Type Description
    System.Char[]
    | Improve this Doc View Source

    DEFAULT_MAX_SCAN

    Declaration
    public static readonly int DEFAULT_MAX_SCAN
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    m_boundaryChars

    Declaration
    protected ISet<char> m_boundaryChars
    Field Value
    Type Description
    ISet<System.Char>
    | Improve this Doc View Source

    m_maxScan

    Declaration
    protected int m_maxScan
    Field Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    FindEndOffset(StringBuilder, Int32)

    Declaration
    public virtual int FindEndOffset(StringBuilder buffer, int start)
    Parameters
    Type Name Description
    StringBuilder buffer
    System.Int32 start
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    FindStartOffset(StringBuilder, Int32)

    Declaration
    public virtual int FindStartOffset(StringBuilder buffer, int start)
    Parameters
    Type Name Description
    StringBuilder buffer
    System.Int32 start
    Returns
    Type Description
    System.Int32

    Implements

    IBoundaryScanner
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)