Show / Hide Table of Contents

    Interface IEscapeQuerySyntax

    A parser needs to implement IEscapeQuerySyntax to allow the IQueryNode to escape the queries, when the ToQueryString method is called.

    Namespace: Lucene.Net.QueryParsers.Flexible.Core.Parser
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public interface IEscapeQuerySyntax

    Methods

    | Improve this Doc View Source

    Escape(ICharSequence, CultureInfo, EscapeQuerySyntaxType)

    Declaration
    ICharSequence Escape(ICharSequence text, CultureInfo locale, EscapeQuerySyntaxType type)
    Parameters
    Type Name Description
    ICharSequence text

    text to be escaped

    CultureInfo locale

    locale for the current query

    EscapeQuerySyntaxType type

    select the type of escape operation to use

    Returns
    Type Description
    ICharSequence

    escaped text

    | Improve this Doc View Source

    Escape(String, CultureInfo, EscapeQuerySyntaxType)

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

    text to be escaped

    CultureInfo locale

    locale for the current query

    EscapeQuerySyntaxType type

    select the type of escape operation to use

    Returns
    Type Description
    System.String

    escaped text

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