Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class EscapeQuerySyntax

    Implementation of IEscapeQuerySyntax for the standard lucene syntax.

    Inheritance
    System.Object
    EscapeQuerySyntax
    Implements
    IEscapeQuerySyntax
    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.QueryParsers.Flexible.Standard.Parser
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public class EscapeQuerySyntax : 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
    J2N.Text.ICharSequence text
    System.Globalization.CultureInfo locale
    EscapeQuerySyntaxType type
    Returns
    Type Description
    J2N.Text.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
    System.Globalization.CultureInfo locale
    EscapeQuerySyntaxType type
    Returns
    Type Description
    System.String

    Implements

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