Show / Hide Table of Contents

    Class RegexpQueryNode

    A RegexpQueryNode represents query Examples: /[a-z]|[0-9]/

    Inheritance
    System.Object
    QueryNode
    RegexpQueryNode
    Implements
    ITextableQueryNode
    IFieldableNode
    IQueryNode
    Inherited Members
    QueryNode.PLAINTEXT_FIELD_NAME
    QueryNode.Allocate()
    QueryNode.Add(IQueryNode)
    QueryNode.Add(IList<IQueryNode>)
    QueryNode.IsLeaf
    QueryNode.Set(IList<IQueryNode>)
    QueryNode.Clone()
    QueryNode.GetChildren()
    QueryNode.SetTag(String, Object)
    QueryNode.UnsetTag(String)
    QueryNode.ContainsTag(String)
    QueryNode.GetTag(String)
    QueryNode.Parent
    QueryNode.IsRoot
    QueryNode.m_toQueryStringIgnoreFields
    QueryNode.IsDefaultField(String)
    QueryNode.TagMap
    QueryNode.RemoveFromParent()
    Namespace: Lucene.Net.QueryParsers.Flexible.Standard.Nodes
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public class RegexpQueryNode : QueryNode, ITextableQueryNode, IFieldableNode, IQueryNode

    Constructors

    | Improve this Doc View Source

    RegexpQueryNode(String, ICharSequence, Int32, Int32)

    Declaration
    public RegexpQueryNode(string field, ICharSequence text, int begin, int end)
    Parameters
    Type Name Description
    System.String field

    field name

    ICharSequence text

    value that contains a regular expression

    System.Int32 begin

    position in the query string

    System.Int32 end

    position in the query string

    | Improve this Doc View Source

    RegexpQueryNode(String, StringBuilder, Int32, Int32)

    Declaration
    public RegexpQueryNode(string field, StringBuilder text, int begin, int end)
    Parameters
    Type Name Description
    System.String field

    field name

    StringBuilder text

    value that contains a regular expression

    System.Int32 begin

    position in the query string

    System.Int32 end

    position in the query string

    | Improve this Doc View Source

    RegexpQueryNode(String, String, Int32, Int32)

    Declaration
    public RegexpQueryNode(string field, string text, int begin, int end)
    Parameters
    Type Name Description
    System.String field

    field name

    System.String text

    value that contains a regular expression

    System.Int32 begin

    position in the query string

    System.Int32 end

    position in the query string

    Properties

    | Improve this Doc View Source

    Field

    Declaration
    public virtual string Field { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Text

    Declaration
    public virtual ICharSequence Text { get; set; }
    Property Value
    Type Description
    ICharSequence

    Methods

    | Improve this Doc View Source

    CloneTree()

    Declaration
    public override IQueryNode CloneTree()
    Returns
    Type Description
    IQueryNode
    Overrides
    QueryNode.CloneTree()
    | Improve this Doc View Source

    GetFieldAsString()

    Declaration
    public virtual string GetFieldAsString()
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    TextToBytesRef()

    Declaration
    public virtual BytesRef TextToBytesRef()
    Returns
    Type Description
    BytesRef
    | Improve this Doc View Source

    ToQueryString(IEscapeQuerySyntax)

    Declaration
    public override string ToQueryString(IEscapeQuerySyntax escapeSyntaxParser)
    Parameters
    Type Name Description
    IEscapeQuerySyntax escapeSyntaxParser
    Returns
    Type Description
    System.String
    Overrides
    QueryNode.ToQueryString(IEscapeQuerySyntax)
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    QueryNode.ToString()

    Implements

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