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, toStringgetField, getTerm, getTermLength, getTermscreateWeight, getSpanRecording, setSpanRecordingpublic BigramSpanWildcardQuery(Term term,
int termLimit)
public void setStopWords(Set set)
protected boolean shouldSkipTerm(Term term)
SpanWildcardQueryshouldSkipTerm in class SpanWildcardQuery