public class TmFuzzyQuery
extends org.apache.lucene.search.Query
| Modifier and Type | Class and Description |
|---|---|
protected class |
TmFuzzyQuery.TmFuzzyWeight |
| Constructor and Description |
|---|
TmFuzzyQuery(float threshold,
String termCountField) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.apache.lucene.index.Term term) |
org.apache.lucene.search.Weight |
createWeight(org.apache.lucene.search.IndexSearcher searcher,
org.apache.lucene.search.ScoreMode scoreMode,
float boost) |
boolean |
equals(Object o) |
int |
hashCode() |
org.apache.lucene.search.Query |
rewrite(org.apache.lucene.index.IndexReader reader) |
String |
toString(String field) |
public TmFuzzyQuery(float threshold,
String termCountField)
public void add(org.apache.lucene.index.Term term)
public org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.IndexSearcher searcher,
org.apache.lucene.search.ScoreMode scoreMode,
float boost)
throws IOException
createWeight in class org.apache.lucene.search.QueryIOExceptionpublic org.apache.lucene.search.Query rewrite(org.apache.lucene.index.IndexReader reader)
throws IOException
rewrite in class org.apache.lucene.search.QueryIOExceptionpublic boolean equals(Object o)
equals in class org.apache.lucene.search.Querypublic int hashCode()
hashCode in class org.apache.lucene.search.QueryCopyright © 2022. All rights reserved.