Fork me on GitHub
  • API

    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
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Search.VectorHighlight
    Assembly: Lucene.Net.Highlighter.dll
    Syntax
    public class SimpleBoundaryScanner : 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, Char[])

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

    SimpleBoundaryScanner(Int32, ISet<Char>)

    Declaration
    public SimpleBoundaryScanner(int maxScan, ISet<char> boundaryChars)
    Parameters
    Type Name Description
    System.Int32 maxScan
    System.Collections.Generic.ISet<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
    System.Collections.Generic.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
    System.Text.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
    System.Text.StringBuilder buffer
    System.Int32 start
    Returns
    Type Description
    System.Int32

    Implements

    IBoundaryScanner
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 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.