Method GetFuzzyQuery
GetFuzzyQuery(String, String, Single)
Called when parser parses an input term that has the fuzzy suffix (~) appended.
Depending on analyzer and settings, a fuzzy term may (most probably will) be lower-cased automatically. It will go through the default Analyzer.
Overrides super class, by passing terms through analyzer.
Declaration
protected override 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 to use for building term for the query |
System.Single | minSimilarity |
Returns
Type | Description |
---|---|
Query | Resulting Query built for the term |