Show / Hide Table of Contents

    Class FuzzyQueryNode

    A FuzzyQueryNode represents a element that contains field/text/similarity tuple

    Inheritance
    System.Object
    QueryNode
    FieldQueryNode
    FuzzyQueryNode
    Implements
    IFieldValuePairQueryNode<System.String>
    IFieldableNode
    IValueQueryNode<System.String>
    IQueryNode
    ITextableQueryNode
    Inherited Members
    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.Core.Nodes
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public class FuzzyQueryNode : FieldQueryNode, IFieldValuePairQueryNode<string>, IFieldableNode, IValueQueryNode<string>, IQueryNode, ITextableQueryNode

    Constructors

    | Improve this Doc View Source

    FuzzyQueryNode(String, ICharSequence, Single, Int32, Int32)

    Declaration
    public FuzzyQueryNode(string field, ICharSequence term, float minSimilarity, int begin, int end)
    Parameters
    Type Name Description
    System.String field

    Name of the field query will use.

    ICharSequence term

    Term token to use for building term for the query

    System.Single minSimilarity

    similarity value

    System.Int32 begin

    position in the query string

    System.Int32 end

    position in the query string

    | Improve this Doc View Source

    FuzzyQueryNode(String, StringBuilder, Single, Int32, Int32)

    Declaration
    public FuzzyQueryNode(string field, StringBuilder term, float minSimilarity, int begin, int end)
    Parameters
    Type Name Description
    System.String field

    Name of the field query will use.

    StringBuilder term

    Term token to use for building term for the query

    System.Single minSimilarity

    similarity value

    System.Int32 begin

    position in the query string

    System.Int32 end

    position in the query string

    | Improve this Doc View Source

    FuzzyQueryNode(String, String, Single, Int32, Int32)

    Declaration
    public FuzzyQueryNode(string field, string term, float minSimilarity, int begin, int end)
    Parameters
    Type Name Description
    System.String field

    Name of the field query will use.

    System.String term

    Term token to use for building term for the query

    System.Single minSimilarity

    similarity value

    System.Int32 begin

    position in the query string

    System.Int32 end

    position in the query string

    Properties

    | Improve this Doc View Source

    PrefixLength

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

    Similarity

    Gets or Sets the similarity

    Declaration
    public virtual float Similarity { get; set; }
    Property Value
    Type Description
    System.Single

    Methods

    | Improve this Doc View Source

    CloneTree()

    Declaration
    public override IQueryNode CloneTree()
    Returns
    Type Description
    IQueryNode
    Overrides
    FieldQueryNode.CloneTree()
    | 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
    FieldQueryNode.ToQueryString(IEscapeQuerySyntax)
    | Improve this Doc View Source

    ToString()

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