Show / Hide Table of Contents

    Class ModifierQueryNode

    A ModifierQueryNode indicates the modifier value (+,-,?,NONE) for each term on the query string. For example "+t1 -t2 t3" will have a tree of:

    <BooleanQueryNode> <ModifierQueryNode modifier="MOD_REQ"> <t1/> </ModifierQueryNode> <ModifierQueryNode modifier="MOD_NOT"> <t2/> </ModifierQueryNode> <t3/> </BooleanQueryNode>

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

    Constructors

    | Improve this Doc View Source

    ModifierQueryNode(IQueryNode, Modifier)

    Used to store the modifier value on the original query string

    Declaration
    public ModifierQueryNode(IQueryNode query, Modifier mod)
    Parameters
    Type Name Description
    IQueryNode query

    QueryNode subtree

    Modifier mod

    Modifier Value

    Properties

    | Improve this Doc View Source

    Modifier

    Declaration
    public virtual Modifier Modifier { get; }
    Property Value
    Type Description
    Modifier

    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 © 2020 Licensed to the Apache Software Foundation (ASF)