| Constructor and Description |
|---|
AssertingQuery(Random random,
Query in)
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Query |
clone() |
Weight |
createWeight(IndexSearcher searcher) |
boolean |
equals(Object obj) |
void |
extractTerms(Set<Term> terms) |
float |
getBoost() |
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
void |
setBoost(float b) |
String |
toString(String field) |
static Query |
wrap(Random random,
Query query)
Wrap a query if necessary.
|
public Weight createWeight(IndexSearcher searcher) throws IOException
createWeight in class QueryIOExceptionpublic void extractTerms(Set<Term> terms)
extractTerms in class Querypublic Query rewrite(IndexReader reader) throws IOException
rewrite in class QueryIOExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.