Class NearestFuzzyQuery
java.lang.Object
org.apache.lucene.search.Query
org.apache.lucene.classification.utils.NearestFuzzyQuery
Simplification of FuzzyLikeThisQuery, to be used in the context of KNN classification.
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.lucene.search.Query
classHash, createWeight, sameClassAs, toString
-
Constructor Details
-
NearestFuzzyQuery
Default constructor- Parameters:
analyzer
- the analyzer used to process the query text
-
-
Method Details
-
addTerms
Adds user input for "fuzzification"- Parameters:
queryString
- The string which will be parsed by the analyzer and for which fuzzy variants will be parsed
-
rewrite
- Overrides:
rewrite
in classQuery
- Throws:
IOException
-
toString
-
hashCode
public int hashCode() -
equals
-
visit
-