public class ConcordanceFuzzyQuery
extends org.apache.lucene.search.Query
| Modifier and Type | Class and Description |
|---|---|
protected class |
ConcordanceFuzzyQuery.ConcordanceFuzzyWeight |
| Constructor and Description |
|---|
ConcordanceFuzzyQuery(float threshold)
Creates a new instance of ConcordanceFuzzyQuery
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.apache.lucene.index.Term term)
Adds a term to the end of the query phrase.
|
org.apache.lucene.search.Weight |
createWeight(org.apache.lucene.search.Searcher searcher) |
int |
getSlop()
Returns the slop.
|
org.apache.lucene.index.Term[] |
getTerms()
Returns the set of terms in this phrase.
|
void |
setSlop(int slop) |
String |
toString(String field) |
public ConcordanceFuzzyQuery(float threshold)
threshold - public void setSlop(int slop)
public int getSlop()
public void add(org.apache.lucene.index.Term term)
public org.apache.lucene.index.Term[] getTerms()
public org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.Searcher searcher)
throws IOException
createWeight in class org.apache.lucene.search.QueryIOExceptionCopyright © 2019. All rights reserved.