Show / Hide Table of Contents

    Class AnyQueryNode

    A AnyQueryNode represents an ANY operator performed on a list of nodes.

    Inheritance
    System.Object
    QueryNode
    BooleanQueryNode
    AndQueryNode
    AnyQueryNode
    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 AnyQueryNode : AndQueryNode, IQueryNode

    Constructors

    | Improve this Doc View Source

    AnyQueryNode(IList<IQueryNode>, String, Int32)

    Declaration
    public AnyQueryNode(IList<IQueryNode> clauses, string field, int minimumMatchingElements)
    Parameters
    Type Name Description
    IList<IQueryNode> clauses

    the query nodes to be or'ed

    System.String field
    System.Int32 minimumMatchingElements

    Properties

    | Improve this Doc View Source

    Field

    Gets or sets the field name. Returns null if the field was not specified.

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

    MinimumMatchingElements

    Declaration
    public virtual int MinimumMatchingElements { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    CloneTree()

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

    GetFieldAsString()

    null if the field was not specified

    Declaration
    public virtual string GetFieldAsString()
    Returns
    Type Description
    System.String

    the field as a

    | 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
    AndQueryNode.ToQueryString(IEscapeQuerySyntax)
    | Improve this Doc View Source

    ToString()

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

    Implements

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