public class BigramSpanWildcardQuery extends SpanWildcardQuery
Modifier and Type | Field and Description |
---|---|
private Set |
stopSet |
Constructor and Description |
---|
BigramSpanWildcardQuery(Term term,
int termLimit)
Construct a SpanWildcardTermQuery matching expanded terms, but
limiting the total number of terms matched.
|
Modifier and Type | Method and Description |
---|---|
void |
setStopWords(Set set) |
protected boolean |
shouldSkipTerm(Term term)
Enables derived classes to skip certain terms in the index (e.g. stop
words, bi-grams, etc.)
|
getSpans, getTermLimit, rewrite, toString
getField, getTerm, getTermLength, getTerms
createWeight, getSpanRecording, setSpanRecording
public BigramSpanWildcardQuery(Term term, int termLimit)
public void setStopWords(Set set)
protected boolean shouldSkipTerm(Term term)
SpanWildcardQuery
shouldSkipTerm
in class SpanWildcardQuery