Class FuzzyQueryNode
A FuzzyQueryNode represents a element that contains field/text/similarity tuple
Inherited Members
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 SourceFuzzyQueryNode(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 |
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 |
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 SourcePrefixLength
Declaration
public virtual int PrefixLength { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Similarity
Gets or Sets the similarity
Declaration
public virtual float Similarity { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Methods
| Improve this Doc View SourceCloneTree()
Declaration
public override IQueryNode CloneTree()
Returns
| Type | Description |
|---|---|
| IQueryNode |
Overrides
| Improve this Doc View SourceToQueryString(IEscapeQuerySyntax)
Declaration
public override string ToQueryString(IEscapeQuerySyntax escaper)
Parameters
| Type | Name | Description |
|---|---|---|
| IEscapeQuerySyntax | escaper |
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |