Show / Hide Table of Contents

    Class PrefixWildcardQueryNode

    A PrefixWildcardQueryNode represents wildcardquery that matches abc* or *. This does not apply to phrases, this is a special case on the original lucene parser. TODO: refactor the code to remove this special case from the parser. and probably do it on a Processor

    Inheritance
    System.Object
    QueryNode
    FieldQueryNode
    WildcardQueryNode
    PrefixWildcardQueryNode
    Implements
    IFieldValuePairQueryNode<System.String>
    IFieldableNode
    IValueQueryNode<System.String>
    IQueryNode
    ITextableQueryNode
    Inherited Members
    WildcardQueryNode.ToQueryString(IEscapeQuerySyntax)
    FieldQueryNode.m_field
    FieldQueryNode.m_text
    FieldQueryNode.m_begin
    FieldQueryNode.m_end
    FieldQueryNode.m_positionIncrement
    FieldQueryNode.GetTermEscaped(IEscapeQuerySyntax)
    FieldQueryNode.GetTermEscapeQuoted(IEscapeQuerySyntax)
    FieldQueryNode.GetTextAsString()
    FieldQueryNode.GetFieldAsString()
    FieldQueryNode.Begin
    FieldQueryNode.End
    FieldQueryNode.Field
    FieldQueryNode.PositionIncrement
    FieldQueryNode.Text
    FieldQueryNode.Value
    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 PrefixWildcardQueryNode : WildcardQueryNode, IFieldValuePairQueryNode<string>, IFieldableNode, IValueQueryNode<string>, IQueryNode, ITextableQueryNode

    Constructors

    | Improve this Doc View Source

    PrefixWildcardQueryNode(FieldQueryNode)

    Declaration
    public PrefixWildcardQueryNode(FieldQueryNode fqn)
    Parameters
    Type Name Description
    FieldQueryNode fqn
    | Improve this Doc View Source

    PrefixWildcardQueryNode(String, ICharSequence, Int32, Int32)

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

    field name

    ICharSequence text

    value including the wildcard

    System.Int32 begin

    position in the query string

    System.Int32 end

    position in the query string

    | Improve this Doc View Source

    PrefixWildcardQueryNode(String, StringBuilder, Int32, Int32)

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

    field name

    StringBuilder text

    value including the wildcard

    System.Int32 begin

    position in the query string

    System.Int32 end

    position in the query string

    | Improve this Doc View Source

    PrefixWildcardQueryNode(String, String, Int32, Int32)

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

    field name

    System.String text

    value including the wildcard

    System.Int32 begin

    position in the query string

    System.Int32 end

    position in the query string

    Methods

    | Improve this Doc View Source

    CloneTree()

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

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    WildcardQueryNode.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)