public class NearestFuzzyQuery extends Query
Constructor and Description |
---|
NearestFuzzyQuery(Analyzer analyzer)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addTerms(String queryString,
String fieldName)
Adds user input for "fuzzification"
|
boolean |
equals(Object other) |
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
String |
toString(String field) |
classHash, createWeight, sameClassAs, toString
public NearestFuzzyQuery(Analyzer analyzer)
analyzer
- the analyzer used to proecss the query textpublic void addTerms(String queryString, String fieldName)
queryString
- The string which will be parsed by the analyzer and for which fuzzy variants will be parsedpublic Query rewrite(IndexReader reader) throws IOException
rewrite
in class Query
IOException
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.