Show / Hide Table of Contents

    Class EscapeQuerySyntax

    Implementation of IEscapeQuerySyntax for the standard lucene syntax.

    Inheritance
    System.Object
    EscapeQuerySyntax
    Implements
    IEscapeQuerySyntax
    Namespace: Lucene.Net.QueryParsers.Flexible.Standard.Parser
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public class EscapeQuerySyntax : object, IEscapeQuerySyntax

    Methods

    | Improve this Doc View Source

    DiscardEscapeChar(String)

    Returns a string where the escape char has been removed, or kept only once if there was a double escape.

    Supports escaped unicode characters, e. g. translates A to A.

    Declaration
    public static UnescapedCharSequence DiscardEscapeChar(string input)
    Parameters
    Type Name Description
    System.String input
    Returns
    Type Description
    UnescapedCharSequence
    | Improve this Doc View Source

    Escape(ICharSequence, CultureInfo, EscapeQuerySyntaxType)

    Declaration
    public virtual ICharSequence Escape(ICharSequence text, CultureInfo locale, EscapeQuerySyntaxType type)
    Parameters
    Type Name Description
    ICharSequence text
    CultureInfo locale
    EscapeQuerySyntaxType type
    Returns
    Type Description
    ICharSequence
    | Improve this Doc View Source

    Escape(String, CultureInfo, EscapeQuerySyntaxType)

    Declaration
    public virtual string Escape(string text, CultureInfo locale, EscapeQuerySyntaxType type)
    Parameters
    Type Name Description
    System.String text
    CultureInfo locale
    EscapeQuerySyntaxType type
    Returns
    Type Description
    System.String

    Implements

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