Factory method for generating a query (similar to
{@link #getWildcardQuery}). Called when parser parses
an input term token that has the fuzzy suffix (~) appended.
Namespace: Lucene.Net.QueryParsersAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
Visual Basic |
---|
Public Overridable Function GetFuzzyQuery ( _
field As String, _
termStr As String, _
minSimilarity As Single _
) As Query |
Parameters
- field
- Type: System..::..String
Name of the field query will use.
- termStr
- Type: System..::..String
Term token to use for building term for the query
- minSimilarity
- Type: System..::..Single
[Missing <param name="minSimilarity"/> documentation for "M:Lucene.Net.QueryParsers.QueryParser.GetFuzzyQuery(System.String,System.String,System.Single)"]
Return Value
Resulting {@link Query} built for the term
Exceptions
See Also