| Constructor and Description |
|---|
AssertingSpanQuery(SpanQuery in) |
| Modifier and Type | Method and Description |
|---|---|
Query |
clone() |
SpanWeight |
createWeight(IndexSearcher searcher,
boolean needsScores) |
boolean |
equals(Object obj) |
protected void |
extractTerms(Set<Term> terms) |
float |
getBoost() |
String |
getField() |
Spans |
getSpans(LeafReaderContext context,
Bits acceptDocs,
Map<Term,TermContext> termContexts) |
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
void |
setBoost(float b) |
String |
toString(String field) |
public AssertingSpanQuery(SpanQuery in)
protected void extractTerms(Set<Term> terms)
extractTerms in class SpanQuerypublic Spans getSpans(LeafReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts) throws IOException
getSpans in class SpanQueryIOExceptionpublic SpanWeight createWeight(IndexSearcher searcher, boolean needsScores) throws IOException
createWeight in class SpanQueryIOExceptionpublic Query rewrite(IndexReader reader) throws IOException
rewrite in class QueryIOExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.