Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class GroupQueryNode

    A GroupQueryNode represents a location where the original user typed real parenthesis on the query string. This class is useful for queries like: a) a AND b OR c b) ( a AND b) OR c

    Parenthesis might be used to define the boolean operation precedence.

    Inheritance
    System.Object
    QueryNode
    GroupQueryNode
    Implements
    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.TryGetTag(String, Object)
    QueryNode.Parent
    QueryNode.IsRoot
    QueryNode.m_toQueryStringIgnoreFields
    QueryNode.IsDefaultField(String)
    QueryNode.TagMap
    QueryNode.RemoveChildren(IQueryNode)
    QueryNode.RemoveFromParent()
    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)
    Namespace: Lucene.Net.QueryParsers.Flexible.Core.Nodes
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public class GroupQueryNode : QueryNode, IQueryNode

    Constructors

    | Improve this Doc View Source

    GroupQueryNode(IQueryNode)

    This IQueryNode is used to identify parenthesis on the original query string

    Declaration
    public GroupQueryNode(IQueryNode query)
    Parameters
    Type Name Description
    IQueryNode query

    Methods

    | Improve this Doc View Source

    CloneTree()

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

    GetChild()

    Declaration
    public virtual IQueryNode GetChild()
    Returns
    Type Description
    IQueryNode
    | Improve this Doc View Source

    SetChild(IQueryNode)

    Declaration
    public virtual void SetChild(IQueryNode child)
    Parameters
    Type Name Description
    IQueryNode child
    | 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

    IQueryNode
    • 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.