Show / Hide Table of Contents

    Class FieldQueryNode

    A FieldQueryNode represents a element that contains field/text tuple

    Inheritance
    System.Object
    QueryNode
    FieldQueryNode
    FuzzyQueryNode
    QuotedFieldQueryNode
    WildcardQueryNode
    Implements
    IFieldValuePairQueryNode<System.String>
    IFieldableNode
    IValueQueryNode<System.String>
    IQueryNode
    ITextableQueryNode
    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 FieldQueryNode : QueryNode, IFieldValuePairQueryNode<string>, IFieldableNode, IValueQueryNode<string>, IQueryNode, ITextableQueryNode

    Constructors

    | Improve this Doc View Source

    FieldQueryNode(String, ICharSequence, Int32, Int32)

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

    field name

    ICharSequence text

    value

    System.Int32 begin

    position in the query string

    System.Int32 end

    position in the query string

    | Improve this Doc View Source

    FieldQueryNode(String, StringBuilder, Int32, Int32)

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

    field name

    StringBuilder text

    value

    System.Int32 begin

    position in the query string

    System.Int32 end

    position in the query string

    | Improve this Doc View Source

    FieldQueryNode(String, String, Int32, Int32)

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

    field name

    System.String text

    value

    System.Int32 begin

    position in the query string

    System.Int32 end

    position in the query string

    Fields

    | Improve this Doc View Source

    m_begin

    The term's begin position.

    Declaration
    protected int m_begin
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    m_end

    The term's end position.

    Declaration
    protected int m_end
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    m_field

    The term's field

    Declaration
    protected string m_field
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    m_positionIncrement

    The term's position increment.

    Declaration
    protected int m_positionIncrement
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    m_text

    The term's text.

    Declaration
    protected ICharSequence m_text
    Field Value
    Type Description
    ICharSequence

    Properties

    | Improve this Doc View Source

    Begin

    Declaration
    public virtual int Begin { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    End

    Declaration
    public virtual int End { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Field

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

    PositionIncrement

    Declaration
    public virtual int PositionIncrement { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Text

    Gets or Sets the "original" form of the term.

    Declaration
    public virtual ICharSequence Text { get; set; }
    Property Value
    Type Description
    ICharSequence
    | Improve this Doc View Source

    Value

    Declaration
    public virtual string Value { get; set; }
    Property Value
    Type Description
    System.String

    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()

    null if the field was not specified in the query string

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

    the field

    | Improve this Doc View Source

    GetTermEscaped(IEscapeQuerySyntax)

    Declaration
    protected virtual string GetTermEscaped(IEscapeQuerySyntax escaper)
    Parameters
    Type Name Description
    IEscapeQuerySyntax escaper
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    GetTermEscapeQuoted(IEscapeQuerySyntax)

    Declaration
    protected virtual string GetTermEscapeQuoted(IEscapeQuerySyntax escaper)
    Parameters
    Type Name Description
    IEscapeQuerySyntax escaper
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    GetTextAsString()

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

    the term

    | Improve this Doc View Source

    ToQueryString(IEscapeQuerySyntax)

    Declaration
    public override string ToQueryString(IEscapeQuerySyntax escaper)
    Parameters
    Type Name Description
    IEscapeQuerySyntax escaper
    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

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