Method GetFuzzyQuery
GetFuzzyQuery(String, String, Single)
Factory method for generating a query (similar to GetWildcardQuery(String, String)). Called when parser parses an input term token that has the fuzzy suffix (~) appended.
Declaration
protected virtual Query GetFuzzyQuery(string field, string termStr, float minSimilarity)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | Name of the field query will use. |
System.String | termStr | Term token to use for building term for the query |
System.Single | minSimilarity | minimum similarity |
Returns
Type | Description |
---|---|
Query | Resulting Query built for the term |
Exceptions
Type | Condition |
---|---|
ParseException | throw in overridden method to disallow |